LOUISVILLE, Ky. (CBSDFW.com/AP) – Papa John’s has reached a settlement agreement with founder John Schnatter that will see him step down from the pizza chain’s board once an independent director that is mutually acceptable replaces him.

If a new director isn’t named prior to Papa John’s 2019 annual shareholders meeting, Schnatter’s term will expire at the meeting, according to a regulatory filing.

READ MORE: 'This Is Trying On Your Soul': Dallas Home Hit By Possible Tornado After Being Rebuilt From October 2019 Storm

Papa John’s founder and CEO John Schnatter attends the Indy 500 on May 23, 2015 in Indianapolis, Indiana. (Photo by Michael Hickey/Getty Images)

Schnatter will also withdraw a lawsuit in which he accused the company of not giving him information he wanted after he resigned as chairman. In January a Delaware judge ruled that Schnatter was entitled to corporate records that the company had refused to turn over to him.

READ MORE: Missing Houston Tiger Transported To Texas Animal Sanctuary

Last month Papa John’s International Inc. tapped the CEO of activist investment firm Starboard Value to become its chairman. Starboard CEO Jeff Smith was the chairman of the board at Darden Restaurants, which owns the Olive Garden chain, from 2014-2016. Papa John’s brought Starboard on board in part to help engineer its turnaround efforts.

Papa John’s, which was founded in 1984, has been floundering after a series of missteps by Schnatter, who stepped down as CEO in 2017 after blamed disappointing sales on NFL player protests. Then, about six months later, Schnatter resigned as chairman after it was revealed he used the N-word during a media training exercise and graphically described violence against minorities.

MORE NEWS: Police: 2 Shot, 1 Fatally, In Car While Waiting To Enter 'Ranch-Style' Property In DeSoto

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)