Andy Burnham has been appointed UK Prime Minister following Keir Starmer's resignation, marking the seventh leadership change since Brexit.