Former London Mayor Boris Johnson has been appointed Britain’s new foreign secretary, one of the biggest jobs in government.

Johnson was one of the leaders of the campaign to leave the European Union. He has been given the job by new Prime Minister Theresa May, who backed the losing “remain” side ahead of the referendum.

Johnson had hoped to become British prime minister but saw his dream fade amid Conservative Party plotting after last month’s vote.

He will not be responsible for leading Britain’s EU exit talks. That will go to a dedicated “minister for Brexit.”