Retail giant Barnes & Noble has been ordered to front 50% of the legal fees that are expected to arise out of the lawsuit the company’s former CEO filed after he was ousted in July 2018.

The company’s ex-CEO, Demos Parneros, sued Barnes & Noble after he was terminated over allegations that he had sexually harassed a female employee, bullied and belittled subordinates and undermined a potential change in control.