After a fight that lasted the better part of a decade, mixed martial arts is on the verge of being legal in all 50 U.S. states.

On Tuesday afternoon, the New York State Assembly voted 113-25 to pass a bill legalizing MMA in the state, paving the way for organizations like the UFC and Bellator to host events by the end of 2016.

While the sport still isn’t technically legal, the bill will now move to the desk of Governor Andrew Cuomo. All reports indicate Cuomo intends on signing it, which will then give the New York State Athletic Commission 120 days to adopt the guidelines.

From there, it’s just a matter of time before the UFC is hosting events at Madison Square Garden and the Barclays Center.

“We’re hopeful that we will be holding one, possibly two events, before the end of the year,” said UFC CEO Lorenzo Fertitta.

New York has long been the last state in the U.S. where MMA wasn’t legal, and it’s been a frustrating process to see that reversed. The state’s senate voted to pass a bill legalizing the sport for seven consecutive years, but the bill was never even brought to the Assembly floor for a vote until Tuesday.