Complex sentence: The government at the time of Victoria's accession was led by the Whig prime minister Lord Melbourne, but within two years he had resigned, and the Tory politician Sir Robert Peel formed a new ministry.
Split into simpler sentences: The government at the time of Victoria's accession was led by the Whig prime minister Lord Melbourne. Two years later, Melbourne resigned and the Tory politician Sir Robert Peel formed a new ministry.