Though some questioned his suitability for the role , Johnson defeated Labor incumbent Ken Livingstone and was elected Mayor , after which he resigned as an MP from the House of Commons . Johnson defeated Labor incumbent Ken Livingstone and was elected Mayor , after which he resigned his seat in parliament .