Virginia Tech coach Frank Beamer, shown watching spring practice last month, will take his Hokies to South Bend, Ind. to play Notre Dame for the first time in 2016. (Matt Gentry/AP)

The ACC announced Friday that both Virginia and Virginia Tech will play football games against Notre Dame over the next fours seasons as part of the league’s scheduling agreement with the Fighting Irish.

Virginia will play Notre Dame for the first time since 1989 in Charlottesville in 2015. The Hokies, meanwhile, are scheduled to face the Fighting Irish in South Bend, Ind., in 2016 in the first matchup between the two schools. As part of joining the ACC in all sports but football starting next year, Notre Dame must play five nonconference football games against ACC foes beginning in 2014.

In 2014, Notre Dame will host Louisville, North Carolina and Wake Forest. It has road games against Florida State and Syracuse.

In 2015, Clemson and Pittsburgh will also play home against Notre Dame, with the Fighting Irish hosting Boston College and Georgia Tech.

In 2016, Notre Dame has home games against Duke and Miami, in addition to Virginia Tech. It will have road contests with North Carolina State and Syracuse.

To make room for Notre Dame on its 2016 slate, Virginia Tech moved a previously scheduled game against Old Dominion to 2017. The Hokies will also play Wisconsin, Liberty and at East Carolina in 2016.

Virginia now has a full nonconference schedule in 2015 with the inclusion of Notre Dame. The Cavaliers will also play home games against Boise State and William & Mary and face UCLA on the road that year.