The Jama Masjid was built by the emperor Shah Jahan. It also has the name of Masjid-i-Jahan-Numa, which means “the mosque commanding view of the world”. More than 5000 workers were constructing the mosque. Shah Jahan invited Imam Bukhari, a Muslim priest, from Uzbekistan, for the inauguration of the mosque. When the British won the Revolt in 1857, they stationed their soldiers there. They also wanted to destroy the mosque, but since they faced opposition, the Jama Masjid was saved.