The Liberals were humiliated, but Labor lost seats to the Greens.