Huntington Ingalls Industries Inc. said Thursday that it is cutting 30% of the workforce at its newly acquired energy business after losses at the unit weighed down the shipbuilder.

The company paid $230 million in May 2014 for Universal Pegasus International Holdings, a provider of engineering and project-management services, as Huntington joined other defense-focused companies looking to diversify into the energy business.