Query: What position did Lord Palmerston previously hold before becoming a Prime Minister?
Context: When Parliament passed a bill to investigate by the vote of 305 to 148, Aberdeen said he had lost a vote of no confidence and resigned as prime minister on 30 January 1855. The veteran former Foreign Secretary Lord Palmerston became prime minister. Palmerston took a hard line; he wanted to expand the war, foment unrest inside the Russian Empire, and permanently reduce the Russian threat to Europe.