There was a smaller mosque before the great mosque, which was knocked down in place of the Ulu Camii.
The pedestrian plaza in the city centre is bounded at one end by the Ulu Camii (Great Mosque), built in the 14th century with stone quarried from Uluda .