The former immigration minister and conservative-turned-rebel was once seen as a moderate centrist, but became the Tory rightwing flag bearer in the leadership contest