Theresa May has announced her resignation as the Conservative leader, and eventually as the prime minister of the United Kingdom, after weeks of deadlock and chaos surrounding several failed attempts to push her European Union Withdrawal Agreement through parliament.