The correct option is Madrasa.
Explanation
The Asharfi Mahal is a prominent structure located in Mandu, Madhya Pradesh, exemplifying the Malwa style of provincial Indo-Islamic architecture. It is situated opposite the Jami Masjid.
Detailed Analysis:
- Original Purpose (Madrasa): The building was originally constructed as a Madrasa (Islamic college) during the reign of Mahmud Khalji I in the 15th century. It was designed as a quadrangle with cells for students and a spacious courtyard.
- Later Modifications: Subsequently, the courtyard was filled in to support the foundation of a massive tomb for Mahmud Khalji himself. Additionally, a seven-story victory tower known as the Haft Manzil was erected at the northeast corner of the building to commemorate a military victory over the Rana of Mewar.
- Etymology: The name 'Asharfi Mahal' (Palace of Gold Coins) is popularly attributed to the legend that the Sultan gave gold coins (Asharfis) to workers or specifically to women to help them lose weight by climbing the steps of the victory tower. Despite the suffix 'Mahal', it was never designed or used as a royal palace.
Key Takeaway:
Although the complex later housed a tomb and a victory tower, the Asharfi Mahal in Mandu was originally designed and built as a Madrasa.