Malcolm Turnbull held on as prime minister after vacating the Liberal party leadership and calling a spill, prevailing in a snap contest against the home affairs minister, Peter Dutton, 48 votes to 35. Dutton then resigned as minister and went to the backbench, without ruling out the possibility of another challenge

• Follow today’s events in Canberra – live