United States President Barack Obama has bid farewell to the U.S. Armed forces.

He was speaking at a ceremony held at joint base Myer-Henderson Hall in Virginia.

The President said that he has had no greater privilege than serving as the commander-in-chief of the greatest military in the history of the world.

At the ceremony Obama was presented with the medal of distinguished public service by Defense Secretary Ash Carter.

Obama’s foreign policy legacy rests in part on a foundation of unilateral actions that his successor Donald Trump could reverse with the stroke of a pen.

Obama deployed U.S. Troops to Iraq, Syria and Libya to help fight ISIS by relying on the authority congress granted President George W. Bush to battle Al Qaeda.