 He remained involved in the partnership until 1843.Barkly was elected to the House of Commons at a by-election on 26 April 1845 as one of the two Members of Parliament (MPs) for the borough Leominster.He was returned unopposed, and "The Times" observed that his election address did not render voters "much wiser" about his political views.