India used to be the richest country in the world until the British invasion in the early 17th Century.