The leadership contest began in July after Johnson announced his resignation following a slew of scandals and resignations from his government.