San Marcos’ William Wrenn slides in safely for the walk-off run in Friday’s Channel League victory over Rio Mesa. Wrenn came in to score on a grounder by Patrick Foster. (Peter Young / Noozhawk Photo)

San Marcos baseball rallied to a walk-off 2-1 victory over Rio Mesa on Friday at Joe Mueller Field.

After trailing 1-0 for the majority of the game, the Royals went into the bottom of the seventh with their backs against the wall.

San Marcos took advantage of back-to-back Spartan errors to even the game at 1-1, as Quinn Melton’s leadoff single was followed by a grounder from William Wrenn that was kicked to put runners on the corners with one out.

Alex Bagaw then hit a grounder to third base and the throw got away from the catcher, allowing Asher Streeton, who was pinch running, to slide in and score. William Wrenn made his way to third base on the error.

One batter later, Patrick Foster chopped a ball to third base and Wrenn took off towards home. The throw came, but Wrenn slid in safely to give the Royals the win.

The only other run of the game came via a wild pitch in the top of the third to give Rio Mesa the 1-0 advantage. The Spartans had a chance to double the lead on a sacrifice fly, but the runner left the base early and was ruled out to end the frame.

Mason Crang tossed five strong innings for San Marcos, allowing one unearned run on four hits while striking out three in five innings of work. Wrenn took over and fired two hitless innings in relief.

Foster, Crang and Landon Johnson paced the Royals’ offense as they each went 2-for-3.

The Royals (4-4, 3-1 Channel League) will roll out the welcome mats for Ventura on Tuesday at 3:30 p.m.

Carpinteria High 5, Nordhoff 2

The Warriors’ undefeated start to the season continued with a league win over Nordhoff on Friday in Carpinteria.

Gabe Martinez fired a complete game for Carpinteria High, needing just 89 pitches to get through the seven innings. He allowed just four hits and struck out five along the way.

After Nordhoff opened the scoring in the top of the first, the Warriors answered with an RBI single by Dallas Bartholic and a run-scoring groundout by Martinez to take a 2-1 lead.

The Rangers tied the game up at 2-2 in the fourth, but Carpinteria High punched right back once again with two runs in the fourth and added one more in the sixth to pull away for the win.

Bartholic led the Warrior offense with two hits and two runs scored, while Jonah Hernandez tallied a pair of hits and Micah Smith scored twice.

“Gabe and Micah make a good battery. Their pace is quick, they execute pitches well, and Gabe threw more than 70% strikes,” Carpinteria High head coach Pat Cooney said. “It felt like the offense put a lot of pressure on the defense. Whether it was small ball, base running or good contact, it seemed like we were the aggressors.

“We had more than our fair share of mistakes as well. We responded well every single time, but we will need to clean up our act going forward.”

The Warriors (6-0, 2-0 Citrus Coast League) will host Santa Clara on Saturday at 11 a.m.

Ventura 11, Santa Barbara High 6

The Dons struggled to contain the Cougars in a loss on Friday in Ventura.

Ventura opened the scoring with two runs in the first, but Santa Barbara High battled back to tie things at 2-2 in the third on run-scoring hits from Jetner Welch and Cruz Lorca.

However, the Cougars responded by dropping four runs in each of the next two innings to run away with a 10-2 advantage.

The Dons rallied for four runs in the top of the seventh, thanks in part to RBIs from Lorca and Dylan Kemper, but it was too little, too late as Ventura held on for the win.

Santa Barbara High (4-4, 2-2 Channel League) will be on the road against Rio Mesa on Tuesday.

Noozhawk sports editor Diego Sandoval can be reached at dsandoval@noozhawk.com. Follow Noozhawk Sports on Twitter and Instagram @NoozhawkSports