The Los Angeles Board of Harbor Commissioners on Thursday agreed to purchase a mobile unit that will allow cruise ships to plug into electrical generators at Berth 91.

The commission awarded a $1.1 million contract to Cavotec USA Inc. to manufacture and install the miniature alternative maritime power mobile unit. A similar unit was purchased earlier this year for cruise ship Berth 93.

In a separate move, the U.S. Department of Homeland Security awarded a $38.1 million grant to the ports of Los Angeles and Long Beach. The harbor commission Thursday formally accepted the grant, about $15 million of which will be spent on security projects at the Port of Los Angeles.