(CNN) A political appointee at the Department of Defense has resigned after a CNN KFile inquiry about controversial postings he made on Facebook.

Todd Johnson is a former Trump campaign state director in New Mexico who joined the Department of Defense in 2017 as an advance officer, a Pentagon employee with the sensitive task of providing logistical support related to the secretary's events and appearances domestically and abroad. Johnson had a pay scale of GS-14, typically reserved for senior civil service positions.

A CNN KFile review of his social media found that Johnson posted birther conspiracies about then-President Barack Obama and shared a video that claimed Obama was the Antichrist.

After CNN initially reached out to the Pentagon for comment, Johnson made his Facebook account private. A spokesperson confirmed Johnson was still working at the Pentagon Tuesday morning, but in the afternoon, after CNN informed the Department of Defense that a story was forthcoming, a Pentagon spokesperson said Johnson had offered his resignation and that it was accepted.

Photos and videos posted online show Johnson has traveled extensively with Secretary of Defense Jim Mattis overseas and posed in photos with Trump and at the Pentagon along with Mattis and former Defense Secretary Chuck Hagel

Read More