Originally constructed as a Sanskrit college during the reign of the Chauhan dynasty, it was repurposed into a mosque by Qutb-ud-din Aibak in 1192 CE. According to legend, the transformation was ...