The Mid-American Conference and ESPN have agreed to a new 13-year media rights deal through 2026-27.

The new deal between the MAC and ESPN rewrites the current eight-year deal, which was set to expire in 2017. A source said the new deal is worth more than the old deal, which paid the MAC about a $1 million a year.

The new deal will keep ESPN as the exclusive carrier for all TV and distribution rights for football and men's basketball, as well as select women's basketball and Olympic sports events.

"This is a historic day for the Mid-American Conference," MAC commissioner Dr. Jon Steinbrecher said in a statement. "ESPN and the MAC have a long history together and were visionary in embracing mid-week football which continues to be a significant presence on the ESPN college football calendar. The length of this partnership brings long term stability for the conference well into the next decade."

The new deal will include multiple mid-week football appearances in November by the MAC schools.

"This extension, and expansion, of our agreement significantly increases the live event coverage for fans while providing tremendous value to ESPN, the MAC and its member institutions," ESPN senior vice president, programming & acquisitions Burke Magnus said in a statement.