A selfie posted on social media by a fighter of the Islamic State in Iraq and Syria (ISIS) resulted in an airstrike that destroyed the terrorist group's headquarters building.

Air Force Gen. Hawk Carlisle, said on Monday that Air Force intelligence specialists discovered the selfie, which led to U.S. Air Force (USAF) airstrikes destroying the group's command facility about 22 hours later, Defense Tech reported.

"It was a post on social media to bombs on target in less than 24 hours," Carlisle said on Monday at a Washington, D.C. breakfast meeting hosted by the Air Force Association.

"Incredible work when you think about," he added. 

Carlisle further explained that airmen with the 361st Intelligence, Surveillance and Reconnaissance Group at Hurlburt Field, Fla., recognized a comment on the Internet and responded with an airstrike, which involved three Joint Direct Attack Munition (JDAM) missiles, according to ITV News. However Carlisle did not disclosed location of the ISIS HQ.

The incident originally happened back in February but was made public on Monday, The Express Tribune reported

"The guys that were working down out of Hurlburt, they're combing through social media and they see some moron standing at this command," Carlisle explained. "And in some social media, open forum, bragging about the command and control capabilities for Daesh, ISIL. And these guys go: 'We got an in.' So they do some work, long story short, about 22 hours later through that very building, three [Joint Direct Attack Munitions] take that entire building out." 

The U.S.-led coalition had conducted 17 air strikes on Thursday across Syria and Iran over a 24-hour period, targeting Islamic State's strongholds like Raqqa and Ramadi, The Telegraph reported