ALBANY, N.Y. -- State lawmakers reached an agreement on the 2017-18 state budget, which means, among other things, that ride-booking apps like Uber and Lyft are now authorized to operate in Upstate New York.

The agreement comes after a yearslong battle and heavy spending on lobbyists for both sides. Uber released a statement Friday night thanking those who helped push for the company.

They said passengers and drivers can expect the apps to be up and operating this summer. Upstate New York was one of the last regions in the country not to have access to the apps.

"Hey, New York - your Uber is arriving this summer! Thank you to Governor Cuomo and the New York State Legislature for working hard on a compromise that will bring more transportation options to the Empire State," the company said.

Some details of how the apps will operate were not immediately released, but Gov. Andrew Cuomo's office said the Department of Motor Vehicles will have "broad oversight" of the companies and that they will be required to maintain minimum insurance of $1.25 million.

The state will also establish a task force to study transportation needs for vulnerable populations and a board to review the impact "of the newly authorized industry across the state."