A child custody dispute that predated changes in Florida’s same-sex marriage and adoption laws ended poorly for the former partner of a child’s biological mother.

The Pennsylvania Supreme Court affirmed two lower court rulings that barred the ex-partner from seeking custody because she has no biological connection to the child and did not legally adopted him because it was barred at the time.