An Australian soccer player has avoided disciplinary action after posting a homophobic slur against a referee on Twitter.

On November 5, Adelaide United defender Antony Golec (pictured) attacked referee Ben Williams after he sent off two Melbourne Victory players during a game against the Brisbane Roar.

“Ben Williams you are gay, biggest homo going around, you gypsy,” he wrote on Twitter.

Golec said the comment was meant as a private message to his brother but was mistakenly placed on his public feed.

“As a consequence, the twitter was read by people to whom I never intended to publish what was a private exchange in which I attempted to be humorous,” Golec said in a press conference on Monday.

“I accept without reservation what I did was foolish and that as a consequence Ben Williams has every right to feel insulted and aggrieved.

“I unreservedly apologise to Ben.”

Golec said he had been told “in no uncertain terms” by Adelaide United officials that a further similar transgression would result in his contract being torn up.

“I have also been counselled as to how the misuse of social media can lead to the issues for the club and me personally,” he said.

“The club has told me that it’s up to me to regain the trust and confidence of the squad, I will do that.”

Golec also said he had written to Williams and hoped the referee would accept his apology.

© Star Observer 2017 | For the latest in lesbian, gay, bisexual, trans* and intersex (LGBTI) news in Australia, be sure to visit starobserver.com.au daily. You can also read our latest magazines or Join us on our Facebook page and Twitter feed.