Locals said the Shahi Jama Masjid-Harihar Mandir issue was decades ... It was the capital of the Lodi dynasty of the Delhi Sultanate under Sikandar Lodi for four years in the 15th century.