CHAPEL HILL, N.C. (AP) North Carolina and UCF have agreed to a football series in 2018 and 2020.

The schools announced the series Wednesday. The Knights visit the Tar Heels in Chapel Hill on Sept. 15, 2018. The Tar Heels visit Orlando on Sept. 12, 2020.

The teams have never met in football.

More from FoxSports

UNC's 2018 nonconference schedule tentatively includes trips to California and East Carolina, and a home game with Western Carolina. UNC's 2020 nonconference schedule has a home game with Old Dominion.

UCF hosts Maryland this fall and has future home nonconference games with Georgia Tech and FIU in 2017, Florida Atlantic in 2018 and Stanford in 2019.

Both teams open the season Sept. 3. The Tar Heels face Georgia in Atlanta in the Chick-fil-A Kickoff, while the Knights host South Carolina State.