In terms of electoral politics , Toronto had been an important source of support for the Liberal Party of Canada both federally and Ontario Liberal Party , though the downtown area tends to support the New Democratic Party ( NDP ) .