During the 1835 parliament he defected from the Whigs to the Conservatives, and lost his seat in 1837, but regained it in 1841, and continued to represent the constituency until his death 28 years later.
He made a notable shift during his time in parliament, switching from the Whig party to the Conservative ranks in 1835. This decision led to him losing his position in 1837 but ultimately regaining it four years later. He continued to represent the constituency until his passing, nearly three decades after making the initial switch.