 Warburton resigned by accepting the office of Steward of the Chiltern Hundreds, causing a by-election.Baillie-Cochrane resigned by accepting the office of Steward of the Chiltern Hundreds in order to seek re-election as a supporter of free trade.After scrutiny, Baillie-Cochrane's election was declared void and Romilly was declared elected on 28 April 1846.