The Georgia ports will receive nearly $49 million for upgrades aimed at moving the massive operations toward a zero-emissions future, White House officials said.

The money, one of 55 projects to be formally announced Tuesday, will pay for systems that will let ships at the ports of Savannah and Brunswick connect with electric grids so they can turn off diesel engines that spew fumes into the air.

All told, about $3 billion in Environmental Protection Agency Clean Ports grants are to be distributed to ports in 27 states. The money was appropriated by President Joe Biden’s signature health and climate bill known as the Inflation Reduction Act.

The investments are intended to improve the air for communities, Michael Regan, EPA administrator, said in a conference call with reporters Monday.

While a lynchpin in the nation’s supply chains, the ports are also a source of pollution for workers and residents of surrounding communities, he said. Swapping out fossil-fuel equipment for battery and hydrogen powered machines will cut the amount of toxic pollution that can cause respiratory and heart trouble.

“It’s also about jobs,” Regan said.

Overall, about 1 million people work at ports and in the maritime industry, according to the American Association of Port Authorities. More than 100,000 of them are union workers, officials said.

The Clean Ports program aims to eliminate more than 3 million metric tons of carbon pollution over a decade, officials said. The money will help pay for equipment that does not burn fossil fuels, including cargo-handling machines, trucks, trains and ships, officials said.

The announcement is to be made formally by President Joe Biden during an event at the Port of Baltimore, which was closed for several months earlier this year after a huge, out-of-control container ship struck the Francis Scott Key Bridge.

Baltimore is receiving a $147 million grant.