The original manuscript of Dušan's Code does not survive. The Code continued as a de facto constitution under the rule of Dušan's son, Stefan Uroš V, and after the fall of the Serbian Empire in 1371, it was used in all the successor provinces. It was officially used in the successor state, Serbian Despotate, until its annexation by the Ottoman Empire in 1459. The Code was used as a reference for Serbian communities under Turkish rule, which exercised considerable legal autonomy in civil cases. The Code was also used in the Serbian autonomical areas under the Republic of Venice, like Grbalj and Paštrovići. It also served as the base of the Kanun of Albanian prince Leka Dukagjini (1410–1481), a set of customary laws in northern Albania that existed until the 20th century.