 In 879, after the death of the Carolingian ruler Charles the Bald, Boso of Provence (also known as Boson), his brother-in-law, broke away from the Carolingian kingdom of Louis III and was elected the first ruler of an independent state of Provence.Three different dynasties of Counts ruled Provence during the Middle Ages, and Provence became a prize in the complex rivalries between the Catalan rulers of Barcelona, the Kings of Burgundy, the German rulers of the Holy Roman Empire, and the Angevin Kings of France.The Bosonids (879–1112) were the descendants of the first King of Provence, Boson.