DUBLIN -- Lindsay Rood had a goal and an assist, and the Monte Vista High girls soccer team completed an unbeaten season and staked its claim to a national championship with a 2-1 win over rival San Ramon Valley on Saturday night in the North Coast Section Division I title match.

Monte Vista (23-0-2), which matched the Wolves' record total of seven NCS titles, is expected to remain No. 1 in the Student Sports' Winter FAB 50 National Rankings.

"It feels pretty great," Rood said. "We've worked so hard as a team all year. It feels great to do it for each other."

The Mustangs' storybook finish hung in the balance in an intense second half at Dublin High. The Wolves (17-2-7) rallied to tie it 1-1 on Morgan McGarry's goal in the 54th minute -- the only goal Monte Vista had allowed in the playoffs.

But Monte Vista responded with the winner by Rood in the 67th minute, assisted by impressive freshman midfielder Nicole Rivas.

"We were made to work for it, and that's because San Ramon is a really good, class outfit," Monte Vista coach Brett LeQuesne said. "We had to be just as a classy and just as good and just as energetic as they were, and we did."

With two of the nation's best programs meeting, it figured it would take a first-class effort by the winning team.

Monte Vista sophomore Amanda Outcalt, a constant threat up front, broke the scoreless draw in the 17th minute with a brilliant shot into the corner from 19 yards out, leaving Wolves goalkeeper Zoey Bauman no chance. Rood had the assist.

"I feel like against San Ramon it comes down to who wants it most, and I feel like this game we wanted it more," Rood said.

The Wolves were competing in the Division I final for the ninth consecutive year, and the third straight final against the Mustangs.

San Ramon Valley, the defending Division I champion, turned it up a notch in the second half, including a near-miss by Annie Lowe from the right on a strong build-up.

"I think both teams played well," San Ramon Valley coach Mark Jones said. "We equalized which we were happy to do. We were happy, obviously. I think we got the run of play in the second half and had more opportunities, but couldn't do anything with it. They got a nice goal, and we couldn't find it."

The Mustangs, with just five seniors, has every reason to expect similar success next season.

Monte Vista attacker Mallory Hromatko, the team's "Energizer Bunny," according to LeQuesne, had a typically strong match, along with Rivas off the bench. Midfielders Maddie Gibson and Arianna Zamora were also excellent.

San Ramon Valley, the No. 2 seed, beat Berkeley in a penalty kick shootout in a thrilling semifinal after a 2-2 draw in the rain. Monte Vista beat upstart College Park 1-0.

The Wolves and Mustangs played to back-to-back ties this season before Monte Vista prevailed in their past two meetings. San Ramon Valley beat Monte Vista 1-0 in the 2013 final to finish unbeaten.