The members' vote closed on 22 July. The result was announced on 23 July. Johnson was elected leader with 92,153 votes (66.4%) to Hunt's 46,656 votes (33.6%). He formally replaced Theresa May as Prime Minister on 24 July after a meeting with the Queen.