Rees was 14 of 23 for 166 yards with scoring passes of 38 yards to Tyler Eifert and 16 yards to Michael Floyd. Jonas Gray added a 1-yard touchdown run for the Irish (6-3).
Tanner Price was 17 of 24 for 187 yards with a 20-yard touchdown pass to Brandon Pendergrass. Josh Harris added a 2-yard touchdown run for Wake Forest (5-4), which led 17-10 at halftime but has lost three of four.
VIRGINIA 31, MARYLAND 13
In College Park, Md., Perry Jones ran for 139 yards and two touchdowns, Michael Rocco threw for two scores, and Virginia became bowl eligible for the first time since 2007.
The Cavaliers (6-3, 3-2 Atlantic Coast Conference) trailed 13-7 before scoring the game’s final 24 points.
Maryland (2-7, 1-5) committed five turnovers in its fifth consecutive loss under first-year coach Randy Edsall.
NORTH CAROLINA STATE 13, NORTH CAROLINA 0
In Raleigh, N.C., Mike Glennon threw a touchdown pass to help North Carolina State beat North Carolina, earning its fifth straight win against its nearby rival.
James Washington ran for 110 yards for N.C. State (5-4, 2-3 Atlantic Coast Conference), which again saved its best for the Tar Heels (6-4, 2-4).
It was N.C. State’s first shutout in the series in more than five decades.
MIAMI 49, DUKE 14
In Miami, Lamar Miller ran for two touchdowns and became Miami’s first 1,000-yard rusher since 2002, Jacory Harris passed for three first-half scores and the Hurricanes scored on their first five possessions to roll past Duke.
Miller finished with 147 yards, giving him 1,016 for the season – the first Hurricane since Willis McGahee to reach that mark.
Mike James also ran for two touchdowns for Miami.