Prominent Albanian leaders during this time were the Thopia family, ruling in an area between the Mat and Shkumbin rivers, and the Muzaka family in the territory between the Shkumbin and Vlorë. In 1279, Gjon I Muzaka, who remained loyal to the Byzantines and resisted Angevin conquest of Albania, was captured by the forces of Charles but later released following pressure from Albanian nobles. The Muzaka family continued to remain loyal to the Byzantines and resisted the expansion of the Serbian Kingdom. In 1335 the head of the family, Andrea II Muzaka, gained the title of Despot and other Muzakas pursued careers in the Byzantine government in Constantinople. Andrea II soon endorsed an anti-Byzantine revolt in his domains between 1335–1341 and formed an alliance with Robert, Prince of Taranto in 1336. In 1336, Serbian king Stefan Dušan captured Durres, including the territory under the control of the Muzaka family. Although Angevins managed to recapture Durazzo, Dušan continued his expansion, and in the period of 1337—45 he had captured Kanina and Valona in southern Albania. Around 1340 forces of Andrea II defeated the Serbian army at the Pelister mountain. After the death of Stefan Dušan in 1355 the Serbian Empire disintegrated, and Karl Thopia captured Durres while the Muzaka family of Berat regained control over parts of southeastern Albania and over Kastoria. that Andrea II captured from Prince Marko after the Battle of Marica in 1371.