UK private equity-backed Neptune Energy has agreed to buy the Norwegian and Danish offshore oil and gas assets of German gas utility VNG.

The size of the VNG transaction is expected to be around 400 million euros ($462.60 million).

The deal is also a continuation of a trend among European utilities selling out of upstream oil and gas business as their core onshore activity is being challenged by renewable energy.

The transaction follows a deal by Neptune last year to buy the oil and gas unit of France’s Engie for $3.9 billion.