Historical manuscripts such as the 6th century Codex Purpureus Beratinus, discovered in 1868, and the Codex Aureus, a 9th-century Greek language manuscript have revealed much about the history of the region and that Berat had a reputation for producing manuscripts; 76 of the 100 codes protected in the National Archives of Albania are from Berat, indicating its historical importance.