Two Maryland airports will get $1.3 million in federal funds to help improve safety and infrastructure at their facilities.

U.S. Transportation Secretary Elaine L. Chao said the money is part of a roughly $520-million investment the Transportation Department is making to improve airports around the country.

In a statement announcing the awards, Chao said the money will “help to keep our nation’s airports in good shape and make air travel a better experience for passengers.”

The $1.3 million will be divided between two facilities. Hagerstown Regional Airport in Washington County will receive $1 million, which will be used to pay for a terminal building and expansion. Tipton Airport, near Fort Meade in Anne Arundel County, will receive $300,000 to fund the expansion of an area to park aircraft.

In the statement, federal transportation officials said the funding makes “it possible to deliver these much-needed improvements more quickly.” Authorities said they’re trying to “streamline the approval process, cut unnecessary red tape and reduce unnecessary, duplicative regulations that do not contribute to safety.”

For the Hagerstown airport, the money comes after it sued the Department of Transportation last year for allegedly pulling back on funding the facility.

Federal officials had argued that the Hagerstown facility didn’t meet necessary numbers of passengers to get funding under a subsidy program. Plus, they said region’s larger airports — Dulles and Baltimore-Washington International — adequately served the area.