Mayor Bill de Blasio on Wednesday unveiled a nearly $3 billion plan to create supportive housing for thousands of New Yorkers.

Fifteen thousand supportive housing units will be created over the next 15 years as part of the plan.

The program is a way to permanently house those struggling with homelessness.  

The mayor's office says negotiations for funding between the city and state have been rocky, but de Blasio says that the city will act now.

"Legislature has been extraordinary. They have been providing a lot of leadership here. It's time for action," de Blasio said. "I don't want to speak for anyone else in terms of how they make their decisions. I think we're seeing a lot of leadership from the legislature. We knew it was time for New York City to act, and my hope is this will lead to a better outcome for everybody."

A spokeswoman for the governor said the administration was glad the city was starting to act on its homelessness problem. The state, she added would provide "management assistance to the city and additional resources."