Lord Palmerston as Britain's Foreign Minister and Prime Minister had close personal ties with leading French statesmen, notably Napoleon III himself. Palmerston's goal was to arrange peaceful relations with France in order to free Britain's diplomatic hand elsewhere in the world. Napoleon at first had a pro-British foreign policy and was eager not to displease the British government, whose friendship he saw as important to France. After a brief threat of an invasion of Britain in 1851, France and Britain cooperated in the 1850s with an alliance in the Crimean War and a major trade treaty in 1860.