When Victoria died, and her son Edward VII ascended the throne, his title became "Emperor of India". The title continued until India and Pakistan became independent from the United Kingdom at midnight on 14/15 August 1947.