Santa Ynez’s Ben Perez hit a walk-off double in the bottom of the 13th inning to give the Pirates a 2-1 victory over San Marcos in a Channel League baseball game on Tuesday.

San Marcos tied the score in the top of the sixth inning when Henry Manfredonia brought in Erik Larson on a sacrifice fly.

Santa Ynez pitchers struck out 13 Royals in the game.

Jack Winterbauer pitched 5.2 innings for San Marcos followed by Josh Swanson  and Brent Hyman.

Diego Sandoval went 2 for 5 to lead the Royals’ offense.

— Noozhawk sports editor Barry Punzal can be reached at sports@noozhawk.com. Follow Noozhawk Sports on Twitter: @NoozhawkSports. Connect with Noozhawk on Facebook.