 The semi-independent Parliament of Provence in Aix and some of the cities of Provence, particularly Marseille, continued to rebel against the authority of the Bourbon king.After uprisings in 1630–31 and 1648–1652, the young King Louis XIV had two large forts, fort St. Jean and Fort St. Nicholas, built at the harbour entrance to control the city's unruly population.At the beginning of the 17th century, Cardinal Richelieu began to build a naval arsenal and dockyard at Toulon to serve as a base for a new French Mediterranean fleet.