Ironically, a deal to secure the Democratic majority may have cost Mr. Liu the election: he lost much of
his coveted labor backing, like the Working Families Party, after Mr. Avella's IDC agreed this Spring to govern with the Democratic conference next year.