The Liberals have won a third straight term in Ontario, sending the Tories into opposition for another four years.