 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 which wrote its texts in Occitan until the Revolution and its dismantling to create the Department of Basses-Pyrénées (renamed Pyrénées-Atlantiques in 1969).It was during the 18th century that Jean-Baptiste Bernadotte (who was born in Pau) became Marshal of the Empire and King of Sweden, today still the ruling dynasty of Sweden and also of Norway when that country was under the Swedish monarchy.