The world’s biggest container shipping company Maersk Line will pay 3.7 billion euros ($4.02 billion) for its acquisition of smaller German rival Hamburg Sud, it said on Friday.

Combined, the two companies will be able to realize annual operational savings of about $350 million to $400 million, Maersk Line said in a statement fleshing out detail on the deal announced in December.

“By keeping Hamburg Sud as a separate and well-run company, we will limit the transaction and integration risks and costs while still extracting the operational synergies,” said Soren Skou, CEO of both Maersk Line and its parent A.P. Moller-Maersk Group.

More at Reuters