Theresa May became leader of the Conservative Party and Prime Minister. In July 2016, she appointed Johnson Secretary of State for Foreign and Commonwealth Affairs. Many saw that this appointment made his political power weaker. Barack Obama was critical of Johnson after Johnson made a racist remark to Obama. This was after Obama said he wanted the U.K. to stay in the European Union.