But no armed manifestation of revolt had taken place until the lawless and savage conduct of the Janissaries, who had made themselves masters of the country, assisted by the notorious governor of Vidin, Pasvan Oglu, 2 Text in Martens, Recueil, 2nd series, vol.
The Porte also sent an army against Pasvan Oglu, but after reducing him to submission reinstated him in his government.
The family of Tekke Oglu, domiciled near Perga, though reduced to submission in 1812 by Mahmud II., continued to be a rival power to the Ottoman governor till within the present generation, surviving by many years the fall of the other great Beys of Anatolia.
The ambitions of Mehemet Ali of Egypt were not yet fully revealed; but Ali of Jannina, who had marched to the aid of the sultan against the rebellious pasha Pasvan Oglu of Widdin, soon began to show his hand, and it needed the concentration of all the forces of the Turkish empire to effect his overthrow and death (1822).
Its name figures conspicuously in the military annals of medieval and recent times; and it is specially memorable for the overthrow of the Turks by the imperial forces in 1689 and for the crushing defeat of the hospodar Michael Sustos by Pasvan Oglu in 1801.
The Moslem inhabitants are mainly of Turkoman origin, and used to owe fealty to chieftains of the family of Chapan Oglu, whose headquarters were at Yuzgat in Cappadocia.
His plans in Albania were interrupted by the war against Pasvan Oglu, the rebellious pasha of Widdin, in which Ali once more did good service.
The lower town was rebuilt, and in the 17th and 18th centuries became a chief seat of the great Dere Bey family of Kara Osman Oglu (see Manisa), which did not resign it to direct Ottoman control until about 1825.