SAN FRANCISCO (AP) — Nick Hundley hit a game-ending homer in the 10th inning, and the San Francisco Giants beat the St. Louis Cardinals 2-1 on Saturday despite a stellar pitching performance from Lance Lynn.

Hundley led off with an opposite-field drive to right on a 1-0 slider from Ryan Sherriff (0-1).

READ MORE: Maskless Uber Passengers Assault, Cough On, Pepper Spray Driver After He Refuses Them Service

The Cardinals failed to score in the top of the 10th after Dexter Fowler led off with a triple against Sam Dyson (2-2). Third baseman Pablo Sandoval threw Fowler out at the plate on Stephen Piscotty’s one-out grounder.

READ MORE: COVID: Bay Area Vaccine Hunters Help Those Eligible Struggling To Find Appointments

Lynn struck out four and walked four while pitching eight shutout innings of one-hit ball. The right-hander pitched eight or more scoreless innings for the first time since June 23, 2014, against the Rockies in Colorado.

MORE NEWS: Twitter Sues Texas AG Over Alleged Retaliation For Banning Trump's Account After Capitol Riot

© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed