The result was announced on the morning of 24 June: 51.89% voted in favor of leaving the EU (Leave), and 48.11% voted in favor of remaining a member of the EU (Remain). After the result was declared, Cameron announced that he would resign by October. He stood down on 13 July 2016, with Theresa May becoming Prime Minister after a leadership contest. A petition calling for a second referendum attracted more than four million signatures, but was rejected by the government on 9 July.