Warren Hastings was the first Governor General of India.
Portuguese were the last foreign ruler to leave India.