Kastoria used to have two Bektashi tekkes and three Bektashi türbes. The first was situated at the entrance to the town on the road from Florina and was said to be particularly "ancient" and formerly important. It suffered during the 1826 persecution. Its chief saint, buried there, was one of the early Bektashi missionaries named Kasim Baba who is said to have lived during the time of Turkish conquest and, according to folk history was a "posthumous miracle worker" and converted many local Christians by causing a huge rock to crash into the local church. However this tekke was suppressed under a Sunni crackdown in the 19th century. Another notable tekke was located at Toplitza, near the barracks, and contained a turbe with the grave of a local notable Sandjakdar Ali Baba. There was also a turbe on the outskirts of the gypsy quarter to Aydin Baba.