 During Ottoman rule Peqin belonged to the Sanjak of Elbasan.The Ottoman Peqin Castle still exists, along with some original parts of the mosque of Abdurrahman Pasha, who had been the governor of Wallachia and Moldavia (former Bogdania).This castle was also constructed during the Via Egnatia road being made.