Two years after gay marriages became legal in Florida, the state has agreed to settle a federal lawsuit over birth certificates issued to children born into same-sex marriages.

Two married lesbian couples and the advocacy group Equality Florida Institute sued the state in 2015 after health officials refused to include both parents’ names on the documents. The lawsuit came months after same-sex marriages became legal in Florida and two months after the U.S. Supreme Court struck down state bans on gay marriage as unconstitutional.