The on-demand ride-sharing app Lyft announced it would start offering limited service in New York City Friday night after resolving regulatory issues that prompted a lawsuit by the state.

New York Attorney General Eric Schneiderman and Department of Financial Services Superintendent Benjamin Lawsky said Lyft agreed to operate “in full compliance” with existing laws and regulations, and that it will start the new service with commercial drivers only.