I've read about India, and parts of it, being conquered by foreigners before, like Mughals and the British, but it doesn't make sense to me for such an old nation to have never tried to expand its territories. Have they ever tried to take over foreign lands? If so, how did that go, and how long did that last (and why did it end)?
but it doesn't make sense to me for such an old nation to have never tried to expand its territories.
India was not politically united for most part of it's history. The different kingdoms which existed mostly expanded at the expense of each other within India. It has formidable natural barriers on all sides.
In the Indian subcontinent lie some of the world's most fertile regions. In addition, due to the high population and periods of relative stability,trade and commerce within the subcontinent was flourishing.
When you compare that with the areas immediately surrounding India,
Expansion was not very attractive in itself. There is a case for creating buffer regions(like Tang Dynasty did), but no empire was influential enough to conquer and fortify and hold the lands as buffer regions.
But outward expansion was the exception rather than the rule. It is analogous to why the Roman empire(whose population and size of economy was comparable to the Indian Subcontinent) did not expand beyond the Rhine and the Danube. There was nothing much worth conquering. On top of that India wasn't politically united for much of history, unlike Roma.
The most vital form of Indian expansion has been cultural. The concept of Greater India.
Due to long periods of prosperity, the region developed a high level of refinement and sophistication. This cultural influence was projected, in the west in Tibet, Afghanistan and sometimes Central Asia, and in the east, in Indo-China, and the Malay Archipelago, (Myanmar, Thailand, Laos, Cambodia, Vietnam, Indonesia, and arguably, Philippines too).
Among others, the volumes of Ancient Indian Colonies In The Far East by R.C. Majmudar expand on this subject.