L to R: Senate President Stephen M. Sweeney greets Justice Walter F. Timpone, Chief Justice Stuart Rabner, Justice Barry T. Albin at the 2018 State of the State address by Gov. Chris Christie.

Pay raises for the bench and other officials are a signature away now that both chambers of the New Jersey Legislature approved a measure boosting the salaries of the state's justices, judges, cabinet officers and county prosecutors.

The Senate on Thursday voted 23-14 to approve the measure. Hours later, the Assembly passed the companion bill in a 45-23 vote. The votes were split along party lines, with Democrats voting in favor. The measure, in order to take effect, must be signed by Gov. Philip Murphy, a Democrat.

The bill, S-1229, sponsored by Senate President Stephen Sweeney, D-Gloucester, would give judges $8,000 raises over the next three years, and then provide for raises based on changes in the Consumer Price Index.