In the 18th century, India underwent significant changes as the Mughal Empire declined, resulting in the emergence of independent regional kingdoms. Concurrently, European trading companies, especially the British and French, expanded their influence in Indian politics, leading ultimately to British colonial rule.