The NYPD is being handed oversight of the city’s homeless shelter system, officials announced Friday.

The city’s homeless czar, Steven Banks, and top cops gathered at 1 Police Plaza to boast that a small management team of three cops deployed last spring to temporarily oversee security operations in the shelters and re-train Department of Homeless Services peace officers was so successful that the team would be made permanent and expanded to 22.

The NYPD management team will now oversee 123 DHS security supervisors who manage the peace officers, continue to boost peace officer training and analyze incident data to decide how best to deploy security staffing.

NYPD First Deputy Commissioner Benjamin Tucker said his team will take “crime fighting strategies that we use in the Police Department that have been very successful over the past year … and infus[e] that into the shelter system.”

“This is an important step forward in enhancing security and safety for New Yorkers in our shelter system,” Banks said.

The initial team of three police staffers was part of a 90-day review of the embattled shelter system by Mayor de Blasio in March following a wave of crimes, including a former Bronx middle-school librarian who was found dead and nearly decapitated two months earlier in an East Harlem shelter.

Training focuses on access control, crisis management, better understanding of mental health and child endangerment issues, proper searching strategies and how best to use Tasers and other nonlethal weapons provided to DHS officers.

Banks said the NYPD’s training and additional presence in shelters has led to less illegal drugs and “an increase in arrests that have resulted in less violent acts.” He and other officials could not immediately provide data on shelter crime since the mayor’s announcement.

City officials said that DHS peace officer staffing has increased from 538 to 777 since May and that 32 new cadets are in training.