Papa John’s founder and former CEO John Schnatter won his bid to obtain company records related to his ouster from the company last year, as a multifaceted battle for control of the pizza chain plays out in Delaware Chancery Court.

Chancellor Andre G. Bouchard ruled Tuesday that Schnatter, the company’s largest stockholder, was entitled to books and records regarding the company’s decision to terminate his employment last July, after Forbes reported that he had used the N-word during a company training call.