NEW YORK (CBSNewYork/AP) — New York City’s $78.5 billion budget agreement now heads to the City Council after officials announced that nearly 1,300 new police officers will be hitting the streets.

The entire Fiscal Year 2016 budget will go to a vote before the full council later this week. The vote is expected to largely be a formality.

The new officers, who were announced amid a headline-grabbing surge in crime in certain neighborhoods, will cost the city $170 million. The costs will be offset by $70 million in savings, largely by creating a cap on department overtime. About 300 of the new officers will be assigned to counterterrorism.

NYC $78.5 Billion Budget Heads To City Council For Vote

The deal was made public and sealed with a handshake and hug between Mayor Bill de Blasio and City Council Speaker Melissa Mark-Viverito, both Democrats, at City Hall late Monday.

“It is the right thing to do,” de Blasio said. “Through a lot of work, we came to a plan that allows us to strengthen our police force while encouraging deepening of reform and finding key reforms on the fiscal front.”

“By expanding community policing and bringing police and communities they serve closer together, we can continue to bridge the divide while also making our city safer,” said Mark-Viverito.

Additionally, the budget authorizes the hiring of 400 administrative aides to take over desk jobs currently filled by police officers. Those officers will then be freed up to be deployed on the street for increased community policing.

A year ago, de Blasio flatly denied Mark-Viverito’s call to hire 1,000 new officers, pointing to record low crime rates and suggesting that the resources would be better used elsewhere to fulfill the mayor’s vision of a liberal, activist government that would better the lives of the less fortunate.

For much of the past year, City Hall stuck to that script. But police Commissioner Bill Bratton began intermittently advocating for the new hires, Mark-Viverito continued to push the plan as a way to improve outreach in neighborhoods often suspicious of police and pockets of the city suffered a surge in shooting and homicides in recent weeks.