In the 17th century, on the orders of Vauban undertaking fortifications to protect Bayonne, the castle became the North West fortifications of the city. The central tower was destroyed and a fortified forecourt was added.[2] In 1808, Napoléon Bonaparte signed a decree ordering the castle's demolition, which was not undertaken.