The original mosque was badly damaged in the 1509 earthquake, after that it was repaired, but was then damaged again by earthquakes in 1557 and 1754 and repaired yet again.
Masjid aslinya rusak parah dalam gempa 1509, setelah itu masjid tersebut diperbaiki, namun kemudian rusak lagi oleh gempa bumi pada 1557 dan 1754 dan diperbaiki kembali.