 In 1621 the castle was converted into an army barracks.Nearly two centuries later it was converted into a state prison under Napoleon Bonaparte.In the first part of the 20th century, the city of Saumur acquired the castle and began a restoration program to house the museum of the decorative arts.