Sunak, who served as chancellor of the exchequer under Johnson and whose resignation from that role in July 2022 delivered a major blow to Johnson’s doomed leadership, was widely seen as a pragmatist who could right the ship after Johnson and his immediate successor, Liz Truss.