Lawmakers in Suffolk County on Tuesday approved a public matching system for elections there, making it the largest county to date to do so.

The bill is backed by Democratic County Executive Steve Bellone.

“This bill is an important step in the effort to reform the politics of Suffolk County by empowering grassroots candidates to run for office and challenge the status quo,” he said.

The measure creates a public matching system for donations of no more than $250 and participating candidates must raise at least $5,000 in eligible contributions.

There are also limits on what the candidates can spend the money on, such as clothing, haircuts and car payments.

Money for the public matching fund will come from a portion of the county’s proceeds of video lottery terminals at Off-Track Betting parlors.

The law comes as public financing of elections statewide has largely stalled in Albany. Lawmakers and Gov. Andrew Cuomo in 2014 backed a public financing system for the comptroller’s race that year, intended as a pilot program of sorts. Republican Bob Antonacci failed to qualify for matching funds and incumbent Democrat Tom DiNapoli, citing the haste in which the bill was approved, declined to participate.