The education and labor budget bill approved by state lawmakers on Tuesday night broke down along party lines in the Senate and Assembly.

Only, Republicans and Democrats voted for the bill if they were in power in the chamber.

It’s not uncommon for minority conferences — be it Democrats in the Senate or Republicans in the Assembly — to question, criticize and vote against the bills they had little to no hand in developing during negotiations.

Similarly, the burden of power comes the requirement that sometimes — as so many lawmakers said last night — perfect can’t be the enemy of the good.

The measure includes a new teacher evaluation criteria and makes it harder for teachers to obtain tenure and easier for districts to fire teachers, regardless of tenure.

The bill was coupled with a $1.3 billion boost in school aid, but districts must approve the new evaluation criteria before receiving the increase in aid by November.

But the vote breakdown when it came to the education reforms was stark. Democrats overwhelming backed the education bill, or ELFA, in the Assembly, where it passed 92-54. Assemblyman Phil Steck did not support the legislation.

Updated: Democrats Kevin Cahill, Steve Englebright, Phil Goldfeder, Dov Hikind, Angelo Santabarbara, James Skoufis, Fred Thiele and Carrie Woerner also voted against the bill.

Republican Assemblyman Michael Fitzpatrick voted yes and enthusiastically praised Gov. Andrew Cuomo in the process.

In the Republican controlled Senate, virtually all GOP lawmakers present voted for the bill while only one Democrat, maverick Sen. Ruben Diaz, back it. Independent Democratic Conference members Tony Avella, David Valesky and David Carlucci voted in favor of the measure as well.

ELFA passed the Senate, 36-26.

2015 Budget Final by Nick Reisman