An Energy Department appointee resigned Thursday amid controversy stemming from comments he made online and later claimed were the result of hacking.

CNN reported that William Bradford, the director of the Energy Department's Office of Indian Energy, stepped down just two days after the news network reported on inflammatory comments from a user appearing to be Bradford on the online commenting service Disqus.

Bradford told CNN that the comments were the result of "cyber attacks and Internet crimes" that had been going on for several years.

ADVERTISEMENT

"I cannot comment on an ongoing federal investigation into multiple cyber attacks and Internet crimes committed against me over the past several years, to include email intrusions, hacking and impostors in social media,” he told CNN.

The comments called former President Barack Obama Barack Hussein ObamaTwitter investigating automated image previews over apparent algorithmic bias Donald Trump delivers promise for less interventions in foreign policy Rush Limbaugh encourages Senate to skip hearings for Trump's SCOTUS nominee MORE's mother a "fourth rate p&*n actress and w@!re." Another comment contends that Obama's birth certificate is "an obvious fake."

Bradford came under fire for online behavior in June, after posting offensive tweets, including one suggesting that Obama received a "mission from Tehran" and calling him a "Kenyan creampuff."

Sen. Ron Wyden Ronald (Ron) Lee WydenGOP set to release controversial Biden report Democrats fear Russia interference could spoil bid to retake Senate GOP senator blocks Schumer resolution aimed at Biden probe as tensions run high MORE (D-Ore.) on Wednesday sent letters to the FBI and the Energy Department inquiring about Bradford's hacking claim.