The city had agreed to pay its share of an $800 million plan to fix the subway system, half of which the state agreed to pay as part of the state budget deal passed Friday night.

A mayor's spokesperson said Saturday that the city is contributing $418 million to the emergency repair plan.

The announcement came after a bit of an impasse between the city and the state over a plan drawn up by the MTA.

The $800 million plan is in addition to a recurring $400 million allocated for the MTA from new surcharges on for-hire vehicles, which were defined in the budget.

The money in the $800 million plan will go towards repairing signals, cleaning stations, and adding more maintenance workers.

"This budget fully funds the short-term emergency action plan. Long-term, the entire surcharge on the for-hire vehicles, which is about $400 million, goes to the MTA. So that's $400 million every year on a recurring basis, long-term, for the MTA," Gov. Andrew Cuomo said in an interview with NY1 on Saturday.

Responding to the budget, the mayor's spokesperson said in a statement: "This budget appears to respond to the mayor's demands on behalf of the city's straphangers. There are no excuses left for the governor to hide behind. He must do his job and fix the subways."

So when you put the $800 million short-term emergency action plan together, which is now intact, and $400 million on the surcharge for for-hire vehicles, that's short term and a long term funding stream."