 A military academy was established in the castle to train young officers in the strategies of war.Arthur Wellesley, 1st Duke of Wellington, best known for taking part in the defeat of Napoleon Bonaparte at the Battle of Waterloo, was trained at the Military Academy of Angers.The academy was moved to Saumur and the castle was used for the rest of the 19th century as a prison, powder magazine, and barracks.