A lesbian couple has been allowed to keep their marriage, which they entered before it was legal across the US.

The decision by the Texas Supreme Court was to dismiss the state’s attempts to overturn the lesbian couple’s marriage.

Suzanne Bryant and Sarah Goodfriend got married some time before the US Supreme Court legalised same-sex marriage across all 50 states, while Texas still banned same-sex marriage.

The couple were allowed to marry for medical reasons, and a rabbi preceded over the ceremony, after the marriage licence was issued.

Despite efforts from the state, three justices objected.

Judge Don Willett wrote that the ban in Texas was “frustrated rather than followed”.

The Texas Attorney General Ken Paton said the marriage, which was allowed under a one-time agreement, could lead to “legal chaos”.

After the US Supreme Court ruling, an opinion from Paxton suggested that officials with religious objections to same-sex marriage could not issue marriage licences.

But couples have been allowed to marry in the state since the ruling.

After the Texas same-sex marriage ban was found unconstitutional in 2014, the ruling was stayed pending a state appeal.