(CBS SF) — A gay man whose mother stepped in to act as surrogate for his child has won the right to adopt the eight-month-old child after a court ruling in the U.K.

Anne-Marie Casson acted as the surrogate for her son, 24-year-old Kyle Casson after a female relative who had already volunteered developed medical complications, the National Post reported.

READ MORE: South Bay Retailer Shutters Store in Response to Smash-and-Grab Crime Wave

A donated egg was fertilized with Kyle’s sperm, and used to impregnate Anne-Marie.

READ MORE: Grieving Family Members Call for Justice for Slain Security Guard Kevin Nishita

Kyle was listed as baby Miles’ father, and brother, but a high court ruled the situation was “entirely lawful.”

“I cried and cried. I could not believe it,” Kyle said of Miles’ birth.

MORE NEWS: Warriors End Suns’ Win Streak at 18 With 118-96 Victory

Kyle was the first single man in the U.K. to have a child through surrogacy, and Anne-Marie was the first mother there to carry a child for one of her own.