The Begum Shahi Masjid was built in honour of Maryam Uz Zamani, Emperor Akbar’s Rajput wife whose story is the stuff of legends