Sherri Shepherd attends the 46th NAACP Image Awards Non-Televised Awards Ceremony at Pasadena Convention Center on February 5, 2015 in Pasadena, California.

Sherri Shepherd attends the 46th NAACP Image Awards Non-Televised Awards Ceremony at Pasadena Convention Center on February 5, 2015 in Pasadena, California.

*A judge had spoken. Sherri Shepherd has lost her arduous battle with her soon to be ex-husband and was officially declared the legal mother of their child who was born through a surrogate, reports TMZ.

Shepherd and her estranged husband, Lamar Sally, have been in court over this since August, with the former co-host of “The View” not wanting the child at all. Shepherd claims she was tricked into having the child with Sally and therefore should be absolved of all responsibility to the child.

A Pennsylvania judge, however, pointed to Sherri’s signature on the birth certificate.

Lamar says he’s ecstatic with the ruling, telling TMZ, “I want her to go on television and apologize the same way that she went on there and accused me of being a gold digger and tricking her into having a baby.”

Shepherd did not show up at the hearing, according to TMZ. The two are due back in court to hash out the child support arrangements. He wants her to help take care of the child.