(L-R) Associate Supreme Court Justice Clarence Thomas and his wife and conservative activist Virginia Thomas arrive at the Heritage Foundation on October 21, 2021 in Washington, DC.(L-R) Associate Supreme Court Justice Clarence Thomas and his wife and conservative activist Virginia Thomas arrive at the Heritage Foundation on October 21, 2021 in Washington, DC.

A gay Connecticut Supreme Court justice said that the U.S. Supreme Court Justice Clarence Thomas was being hypocritical by not calling for the repeal of the same-sex marriage ruling.

Andrew McDonald, a senior associate justice on Connecticut's high court, took a shot at Thomas in a Facebook post.

Mr. Justice Thomas said a lot about my marriage. McDonald wrote that he didn't have much to say about his marriage when he was in the legislature.

In 1967, the U.S. Supreme Court ruled that Virginia's law banning interracial marriages was unconstitutional. Other such bans were invalidated by it.

The mirror image of the white husband and Black wife in the movie "Loving" is Thomas, who is black, living with his white wife in Virginia.

Andrew J. McDonald, right, with husband, Charles Gray, left.

The couple in the case were found guilty of violating Virginia's law and sentenced to a year in jail. They agreed to leave the state and not come back for 25 years.

The wedding ceremony was conducted by the mayor. McDonald is the second openly gay man to serve on an American state's Supreme Court.

McDonald married his husband six years before the US Supreme Court ruled in favor of same-sex marriage.

In this Feb. 26, 2018 photo, Connecticut Supreme Court Justice Andrew McDonald, nominee for chief justice, speaks before the state judiciary Committee in Hartford, Conn.

The Supreme Court's ruling in Obergefell, a 2003 high court case, was one of the three past rulings that Thomas named.

The fourth Supreme Court decision, which is based on the same legal grounds as the others, was not mentioned by Thomas.

The Supreme Court decided that Virginia's law was in violation of the 14th amendment of the constitution. No state shalldeprive any person of life, liberty, or property without due process of law.

In his concurring opinion, Thomas said that the Supreme Court decisions were correct.

Thomas wrote, "We have a duty to correct the error that was established in those precedents."

When contacted by CNBC, Mcdonald refused to comment on his post.

A Supreme Court spokeswoman didn't reply to a request for Thomas to comment on McDonald's post

Thomas objected to the idea that antimiscegenation laws banning interracial marriage and same-sex marriage were the same.

Thomas wrote that the suggestion of antimiscegenation laws being akin to laws defining marriage as between one man and one woman is offensive.

America's earliest laws banning interracial sex and marriage were based on the existence of slavery in the colonies, according to him.

Marriage is defined as between one man and one woman. In every society that has recognized marriage, the traditional definition of marriage has remained.

Jim Obergefell said on Friday that Loving v. Virginia was off the list of cases he wanted to reverse.

Obergefell said on MSNBC that he doesn't care about the gay community.

The ability of people to marry the person they love is at risk according to Obergefell.

It's quite telling that Justice Thomas completely omitted Loving v Virginia.