The Husa Medin Pasha Mosque was built on a hill in the left side of the town. It is known as the church of St. Ilija, because it is believed to have been built on the foundations of an ancient Christian religious place. According to the legend, Husamedin Mehmed Pasha built the mosque in the 17-th Century on the foundations of a church from the 13-th or 14-th Century that was dedicated to St. Ilija. Next to the mosque is the grave of Husa Medin Pasha.