The Moti Masjid in Agra was built by Mughal ruler Shah Jahan.
Shah Jahan was the fifth Mughal emperor who reigned the dynasty from 1628 to 1658.