President Obama’s military office aide resigned on Friday after an uproar over a low altitude flight by a jumbo jet used as Air Force One he approved over New York City which led bystanders to believe was part of another terrorist attack.

Louis Caldera said in a letter to President Obama that the controversy over the mission prevented him from leading the White House Military Office, according to Reuters.

The flight was part of a photo opportunity meant to show the jet flying near landmarks including the Statue of Liberty near lower Manhattan, the site of the Sept. 11 attacks in 2001.

White House spokesman Robert Gibbs said President Obama had accepted the resignation, according to the report.

The cost of the photo shoot was estimated to be $357,012, which included the use of the jumbo jet as well as two accompanying F-16 jets, Gibbs said, providing details which Sen. John McCain had requested.

A photo of the flight was released by the White House (see attached photo)