“[The win] feels great,” said Barnstable coach Chris Whidden. “The kids have put in the work. It’s great to see them getting out of it what they put in. It’s an exciting night for Barnstable High School, an exciting night for the community.”

Trailing, 14-6, midway through the fourth quarter, Barnstable pulled within 2 on a 16-yard pass from Kristian Lucashensky to Derek Estes. The Red Raiders then fumbled the 2-point rush attempt.

The Hawks (2-1) were unable to score on the next drive and gave the ball back to Barnstable, which drove to the Xaverian 15-yard line behind a 40-yard strike from Lucashensky to senior Colby Blaze.

Facing a fourth and five, Barnstable elected to try a field goal, even though Pacheco had missed an extra point earlier in the game.

The Red Raiders stopped Xaverian, which had taken down former No. 1s Everett and Bridgewater-Raynham the last two weeks, on fourth down to end the game.

Xaverian opened the scoring when quarterback Jake Farrell found running back Shayne Kaminski for a 54-yard touchdown with 4:22 left in the second quarter. The Red Raiders responded less than three minutes later when Lucashensky delivered a 23-yard TD to Blaze to make it 7-6.

The Hawks upped their lead to 14-6 when Kaminski ran one in from 5 yards.

Boston City

Latin Academy 36, Boston English 16 — Senior quarterback Kyle Dance tossed his ninth touchdown pass of the season and 40th of his career, becoming the first player in Boston Public School history to reach the milestone, to lead the Dragons (4-0).

“It’s incredible, but I have to thank all my teammates,” said Dance. “I don’t catch the ball and I don’t block for myself, though, while I’m doing everything. It’s a team thing,” he said.

Madison Park 22, East Boston 0 — Anthony Cannady’s two rushing touchdowns powered the Cardinals to their first win.

O’Bryant 32, Burke 16 — Mehki Williams led the undefeated Tigers (3-0) with two touchdowns in the second half.

Bay State

Natick 35, Wellesley 21 — Quarterback Troy Flutie was 20 of 34 for 200 yards and five touchdowns and had 171 rushing yards for the No. 2 Red Hawks.

Walpole 49, Dedham 20 — Connor Moriarty scored three touchdowns and Will Bolster threw two TD passes to lead the 11th-ranked Rebels.

Needham 41, Newton North 12 — Ryan Charter completed 7 of 8 passes for 120 yards and two TDs to propel the No. 17 Rockets. Charter also had a 1-yard TD plunge.