Mondelez International Inc. said it agreed to buy US organic energy-bar maker Clif Bar & Co. as part of its plan to boost its snacks segment.

The Chicago-based maker of Oreos and Cadbury chocolates will buy Clif for $2.9 billion, it said in a statement. Further payments may be possible, contingent on events that weren’t specified — a clause known as an additional contingent earnout consideration, the statement showed.

The acquisition of Clif — whose brands include the Luna protein-bar range — expands Mondelez’s global snack-bar business that includes Perfect Snacks in the US and Grenade in the UK, it said.

The purchase — which Mondelez said would be “top-line accretive in year two” — will see Clif keep operating from its headquarters in Emeryville, California, the company said. Manufacturing facilities in Twin Falls, Idaho, and Indianapolis, Indiana, will also continue, it said.

Clif has operated for almost 30 years and is family- and employee-owned.

Mondelez rode the pandemic snacking boom to boost online sales of cookies and candy, and in November said the retail trend will continue to grow even after mobility restrictions had been lifted as people became accustomed to using their digital devices to shop for food.