It was the 15th straight win for the Spiders (6-0, 4-0 Colonial Athletic Association), who have the longest win streak in the Football Championship Series. Richmond scored 28 unanswered points in the second half in the comeback against the Black Bears (3-3, 2-2).
The Spiders rallied to beat James Madison 21-17 last Saturday.
Ward, who passed for 108 yards, threw a 3-yard touchdown pass to Donte Boston to pull the Spiders to within 17-14 in the third quarter. He also ran for a 1-yard touchdown in the fourth quarter.
Maine's Warren Smith went 35-for-58 for 327 yards, threw two touchdowns and rushed for another score. Tyrell Jones caught nine passes for 78 yards, including touchdown catches of 21 and 14 yards.