It is located in the historic center of Pec. The precise time of its construction is not known, but it is supposed that it was built already in the first decades of the Turkish occupation, i.e. in the second half of the 15th century. It is called the main mosque in the town since by flying its banner on the minaret it determines the time when other mosques should begin their prayers. It is a monumental edifice with octangular dome, 11.65 m in diameter, leaning on pandantiphs above the central area. The top of calotte is high 13.5 m from the floor. A high open porch with three cupolas leaning on lateral walls and four columns linked by arches is in front of the entrance to the central area. The high and slender polygonal minaret is leaning on the main dome. The high mihvil (gallery), elevated above the entrance, is leaning on the columns with capitals and is stretching along the entire wall. Its fence is richly decorated by ornamental carvings, while the supporting arches are painted with floral ornaments. Mihrab (central preaching niche) is marked by a shallow niche, while mimbar (pulpit), in the southern-eastern part of the mosque, is built of marble and has monumental dimensions. Especially interesting is the fountain with carved floral medallion and the
symbols of Moon and stars as well as the tablets with Arabic inscriptions. The cemetery also has interesting carved sights. Of particular importance is the sarcophagus of Hajri-beg Miralaj with the relief of heraldic meaning, floral ornaments and the representation of weapons and object-symbols.