According to its inscription, the historical mosque was built in 1330.