During the first Russian Revolution and the abdication of Nicholas II, emperor of Russia, Lvov was made head of the provisional government founded by the Duma on 2 March 1917. Unable to rally sufficient support, he resigned in July 1917 in favour of his Minister of War, Alexander Kerensky.