LOS ANGELES, Calif.–The cities of Huntington Beach and Inglewood will get a total of $6 million in federal funds to support community development and produce more affordable housing, federal officials announced.

The funding from the U.S. Department of Housing and Urban Development also will pay for emergency shelter operations in Inglewood, according to the agency.

“This funding provides the building blocks needed to improve communities,” said HUD Secretary Shaun Donovan. “Now, more than ever, these grants promote neighborhood development, produce affordable housing, and help extremely low-income persons find their place in their communities.”

The $2.3 million in HUD funding for Huntington Beach consists of $1.48 million in community development block grant funds and $822,743 for low-income housing, the agency reports.

The $3.78 million for Inglewood consists of $2.42 million in community development block grant funds, $1.26 million in low-income housing funding and $98,063 for emergency shelters, HUD said.