TALLADEGA, Ala. (AP) — Dale Earnhardt Jr.'s team has signed a three-year sponsorship deal with Nationwide Insurance.

The agreement with the No. 88 Hendrick Motorsports Sprint Cup Series team was announced Friday. Nationwide will be a primary sponsor for 12 Sprint Cup races in 2015 and 13 each during the two years after that. The company also will be an associate sponsor all three seasons.

Hendrick Motorsports owner Rick Hendrick says through the partnership "we'll build another program that moves the needle for their business. The opportunities are endless."

Earnhardt is a two-time Nationwide Series champion and has 20 Sprint Cup wins.