Trani entered a crisis under the Anjou and Aragonese rule (14th–16th centuries), as its Jewish component was persecuted under Dominican pressure. Under the House of Bourbon, however, Trani recovered a certain splendour, thanks to the generally improved condition of Southern Italy economy and the construction of several magnificent buildings. Trani was province capital until the Napoleonic age, when Joachim Murat deprived it of this status in favour of Bari. In 1799, moreover, the French troops provoked a massacre of Trani's population, as it had adhered to the Neapolitan Republic.