Lvov resigned in July 1917 in favor of his Minister of Justice, Alexander Kerensky. Lvov was arrested when the Bolsheviks seized power later that year. He escaped and settled in Paris, where he spent the rest of his life.