The center-left party announced the result of a leadership contest to replace departing Prime Minister Keir Starmer , in which Burnham was the only contender.