SHR settles with ex-Patrick sponsor

(AP Photo/Chuck Burton)

(AP) -- Stewart-Haas Racing and snack company Nature's Bakery have agreed to settle a $31 million breach-of-contract lawsuit the team had filed in a dispute with Danica Patrick's former sponsor.

The team said Friday that Nature's Bakery would serve as the primary sponsor for four NASCAR Cup Series races. They will be split between Patrick and teammate Clint Bowyer later this season.

Nature's Bakery severed its sponsorship agreement with Stewart-Haas and Patrick after the first year of a three-year deal. The team responded by filing the lawsuit in which it accused the company of cash-flow issues and concocting reasons for pulling out of the multimillion-dollar deal.