Pau became the capital of Béarn in 1464 and the seat of the Kings of Navarre in 1512 after the capture of Pamplona by the Kingdom of Castile. Pau became a leading political and intellectual centre under the reign of Henry d'Albret. With the end of Béarnaise independence in 1620, Pau lost its influence but remained at the head of a largely autonomous province. It was home to the Parliament of Navarre and Béarn during the Revolution, when it was dismantled to create the Department of Basses-Pyrénées. The Belle Époque marked a resurgence for the Béarnaise capital with a massive influx of wealthy foreign tourists, who came to spend the winter to take advantage of the benefits of Pau's climate. It was at this time that Pau became one of the world capitals of the nascent aerospace industry under the influence of the Wright brothers.