Correct option is A
Anangapala Tomara, a ruler of the Tomara dynasty, is credited with founding and fortifying Lal Kot, an early settlement in Delhi.
The Chauhans later captured Delhi and made it part of their territory, especially under Prithviraj Chauhan.
Ghiyasuddin Balban and Alauddin Khalji came much later during the Delhi Sultanate, when Delhi was already well-established as a capital.
The city continued to be the capital through various dynasties, including the Slave, Khalji, Tughlaq, and Mughal dynasties.
Delhi’s strategic location on the fertile Indo-Gangetic plain and along major trade routes contributed to its rise as a capital.