Ten Long Island communities on Friday were awarded $4.6 million in federal funding for public housing programs.

The U.S. Department of Housing and Urban Development made the grants as part of a $1.8 billion program for public housing nationwide. The funding is allocated to improve living conditions for families and seniors.

The grants are going to the towns of Hempstead, North Hempstead, Islip, Huntington and Oyster Bay housing authorities. Grants were also awarded to Freeport, Glen Cove, Rockville Centre, Great Neck and Hempstead Village.

The Town of Hempstead led Long Island in funding with $1.3 million for its public housing facilities. The Town of Oyster Bay is getting $897,317, followed by the Long Beach Housing Authority, with $499,861. The grants to the Hempstead Village and Freeport housing authorities are $412,714 each.

“Hempstead Town oversees a large network of affordable senior and broad market apartments, providing over 1,250 rental homes to eligible residents,” town Supervisor Anthony J. Santino said in a statement. “The funding that HUD provides to our township helps to maintain the infrastructure of these facilities, ensuring that our residents enjoy comfortable, safe and attractive living accommodations.”

The HUD Capital Fund Program disbursed the money to build, repair and modernize public housing. Money is used for large-scale projects like replacing roofs and upgrading energy efficient plumbing and electrical systems.

advertisement | advertise on newsday

HUD officials said President Barack Obama proposed the Rental Assistance Demonstration, which was approved in 2011, to add to the Capital Fund Program and improve long-term affordable housing with a mix of public and private funding. That program led to $3 billion in repairs nationwide.

“HUD has a responsibility to provide public housing residents with a quality and safe roof over their heads,” HUD Secretary Julian Castro said in a statement. “This funding, in addition to assistance from the private sector through HUD’s Rental Assistance Demonstration Program, will help housing authorities address long-standing capital improvements and preserve and enhance America’s affordable housing.”