The city regained much of its wealth and trading power when it was revived in the 10th century by the Counts of Provence. The Counts of Provence allowed Marseille, governed by a consul, great autonomy until the rule of Raymond Berengar IV of Provence. Marseille initially resisted his assertion of control, but acknowledged his suzerainty in 1243. After his death, his daughter Beatrice of Provence married Louis IX of France's brother Charles I of Anjou in 1246, making him Count. Charles continued his father-in-law's administrative changes, which reignited discontent. Marseille rebelled in 1248, under the leadership of two local nobles, Barral of Baux and Boniface of Castellane, while Charles was embarked on the Seventh Crusade. Charles returned in 1250 and forced Marseille to surrender in 1252. Marseille rose up once more, in 1262, under Boniface of Castellane and Hugues des Baux, cousin of Barral des Baux (who remained loyal and helped contain the unrest). Charles quelled the revolt in 1263. Trade prospered, and Marseille gave him no further trouble. In 1348, the city suffered terribly from the bubonic plague, which continued to strike intermittently until 1361. As a major port, it is believed that Marseille was one of the first places in France to encounter the epidemic, and some 15,000 people died in a city that had a population of 25,000 during its period of economic prosperity in the previous century. The city's fortunes declined still further when it was sacked and pillaged by the Aragonese in 1423.