This Asian country was once ruled by both the Mughal and the British Empires, but won its independence in 1947 thanks mainly to widespread nonviolent resistance.