Original: While he was less radical than many, when Lord Grey resigned (July 1834), Melbourne was widely seen as the most acceptable replacement among the Whig leaders, and became Prime Minister.
Simplified: Grey resigned in 1834 and Melbourne became Prime Minister.