An Irish hacker has attacked Nigeria's official government website in protest of its anti-gay bill, which will jail convicted gay people for 14 years.

According to Pink News, the "hacktivist" attacked the site on Thursday night, leaving a message on Nigeria.gov.ng giving the president 72 hours to "renounce and veto this bill."

“Failure to follow our order will unleash a torrent of fury aimed directly at the direction of your administration, starting with some startling but unsurprising evidence of corruption in your ranks,” the message continued.

He added: “No need to start destroying evidence. I already have it.”

Service was returned to the site, which is the official website of the Nigerian government, several hours later.

The hacker, who calls himself "Paddy Hack" posted to Twitter: “I’ve allowed http://Nigeria.gov.ng to come back to full service for now…Don’t think that I can’t come and go as I please.”

The attack was a continuation of an #opNigeria the hacker launched on July 1. He announced his intentions hours before hijacking the website, but Nigeria’s Information Ministry’s web administrators were unable to halt the attack.

“Just over two hours to launch of #OpNigeria,” the attacker announced on his Twitter feed.

After the attack, the hacker denied reports that he is gay.

“So the news says that I am gay? I’m not, but it’s not an insult to be called gay either," he said.

He also said: “Keep getting asked why I’m pro LGBT? I prefer the term ‘anti hate’. This was not LBGT sanctioned. Blame me, not them.”