True Delhi was a capital but of what? We are talking India as a whole and Delhi was never a capital except for small dynasties throughout history, only reaching some importance in the last few centuries.
Yeah but what was it the capital of? India? Certainly not. Lots of history but as capital of India, it’s still fairly recent. Most rulers of Delhi ruled very small parts of India.