This post has been updated.

Texas state Sen. Dan Patrick (R) accidentally endorsed same-sex marriage in a tweet on Wednesday.

Patrick, who is running for lieutenant governor, intended to express his disapproval of a federal judge’s decision to strike down the state’s ban on gay marriage. Instead, Patrick defined marriage as between “ONE MAN & ONE MAN.”

He deleted the tweet with the typo and replaced it about 10 minutes later.

MARRIAGE= ONE MAN & ONE WOMAN. Enough of these activist judges. FAVORITE if you agree. I know the silent majority out there is with us! — Dan Patrick (@DanPatrick) February 26, 2014

Patrick made it clear in earlier tweets that he opposes gay marriage and the Wednesday ruling.

Marriage is between one man and one woman. Period. — Dan Patrick (@DanPatrick) February 26, 2014

As Lieutenant Governor I’ll fight activist judges and defend our traditional Texas values. — Dan Patrick (@DanPatrick) February 26, 2014

Later on Wednesday, Patrick announced that he would be looking for some help managing his social media accounts.

oops! #twittertypo. We have a new job opening on our campaign: social media intern. Send resume to contact (at) http://t.co/8rERPM4IXE — Dan Patrick (@DanPatrick) February 26, 2014

Correction: This post originally included a tweet that did not come from Patrick’s verified account.