Labour is largest party for first time after general election