SAN DIEGO (AP) — Blake Snell pitched five-hit ball into the sixth inning and Trent Grisham homered at a festive Petco Park, helping the San Diego Padres top the Los Angeles Dodgers 2-1 on Friday night for a 2-1 lead in their NL Division Series.

San Diego can clinch its first trip to the NL Championship Series since 1998 with one more win on Saturday night. Joe Musgrove pitches for his hometown Padres, and Tyler Anderson starts for the NL West champions.

With Snell working 5 1/3 innings and Josh Hader finishing a scoreless performance by San Diego’s bullpen, the 111-win Dodgers were pushed to the brink of a massive disappointment. Los Angeles went 14-5 against San Diego in the regular season, and it has defeated the Padres in nine straight series dating to 2021.

San Diego stranded two runners in each of the first four innings and 10 total. But Jake Cronenworth’s RBI single in the first and Grisham’s drive to right in the fourth were enough.

The sellout crowd of 45,137 roared when Hader struck out Trayce Thompson swinging for the final out. The four-time All-Star, who was acquired in an Aug. 1 trade with Milwaukee, also got the save in San Diego’s 5-3 victory on Wednesday, working 1 1/3 innings.

Nick Martinez got two outs and Luis García and Robert Suarez each worked an inning before Hader closed out Game 3 for a six-hitter. San Diego’s bullpen has thrown 13 straight scoreless innings in this series.

The Padres hadn’t hosted a playoff game with fans in the stands since the 2006 NLDS. Long-suffering fans made up for that gap by filling the downtown ballpark and raucously supporting a franchise that has made only seven trips to the postseason in its 54 seasons.

San Diego won a home wild-card series against St. Louis after the pandemic-shortened 2020 season but fans weren’t allowed in. San Diego was then swept in the NLDS by the eventual World Series champion Dodgers in the Texas bubble.

Waving yellow rally towels, the fans began chants of “Beat L.A.!” right after the national anthem.

Mookie Betts momentarily silenced the crowd with a leadoff single, but Snell struck out the side to a massive ovation.

Juan Soto, picked up at the trade deadline in a blockbuster deal with Washington, doubled with one out in the first and scored on Cronenworth’s two-out single off Tony Gonsolin.

Grisham, who struggled at the plate during the regular season, homered for the third time this postseason when he drove a pitch from Andrew Heaney onto the whiskey deck atop the right field wall leading off the fourth.

The Dodgers closed to 2-1 on Betts’ sacrifice fly in the fifth after Thompson opened the inning with a single and Austin Barnes doubled.

The Dodgers had the bases loaded with two outs in the third before Will Smith popped out.

Snell was facing the Dodgers in the playoffs for the first time since the ill-fated Game 6 of the 2020 World Series. Then with Tampa Bay, Snell was pulled by manager Kevin Cash in the sixth inning with the Rays leading. They ended up losing the game and the World Series.

Snell was traded to San Diego two months later.

Snell allowed Max Muncy’s one-out double in the sixth and manager Bob Melvin came on with the hook. Martinez retired the side.

San Diego chased Gonsolin, a first-time All-Star this year, after just 1 1/3 innings and 42 pitches. Manager Dave Roberts had said the Dodgers hoped to get him to 75 pitches. He allowed one run and four hits.