NLDS All Even at 1-1: Braves blank the Phillies while the Padres hang on to beat the Dodgers.

ATLANTA (AP) — This was a game the Atlanta Braves absolutely had to win.

They had the right guy on the mound.

Kyle Wright, baseball’s only 20-game winner, threw six brilliant innings to outduel Zack Wheeler as the Braves evened their NL Division Series at one game apiece, blanking the Philadelphia Phillies 3-0 on Wednesday night.

After steady rain delayed the first pitch by nearly three hours, Wright surrendered just two hits and claimed the win when the Braves got to Wheeler for three runs in the bottom of the sixth.

The reigning World Series champions were in a must-win situation after losing the opener of the best-of-five series 7-6.

The Braves turned to the right-hander with a big arm and snapping curveball who has finally cashed in on his enormous potential.

“I’ve worked on a lot of things this year,” Wright said. “Really, it just goes back to confidence. ”

Wright, the fifth overall pick in the 2017 amateur draft, struggled to get past Triple-A and came into this season with a record of 2-8 in the majors. He totally turned that around, going 21-5 to collect three more wins than any other big league pitcher.

Wright kept it going in the playoffs. His only major threat came in the second, when Bryce Harper led off with a double, then tagged and moved to third on a flyout to deep center by Nick Castellanos.

Meanwhile, in Los Angeles, not many tabbed the San Diego Padres to beat the Mets in New York in the wild-card round. Even fewer picked them against the Los Angeles Dodgers, who have dominated the Padres in recent years and were baseball’s best team during the regular season.

But they’re all even now.

Manny Machado homered early and added an RBI double off Clayton Kershaw, and Jurickson Profar singled home the go-ahead run as San Diego defeated the Dodgers 5-3 on Wednesday to tie their NL Division Series at one game apiece.

“We’re going to compete,” Machado said. “We’re going to try to do everything possible to help our team win every single day. That’s what we started in New York, and we’re going to continue to do that until we’re not.”

The wild-card Padres beat the rival Dodgers for the first time in the postseason. San Diego was swept 3-0 by the Dodgers in a 2020 Division Series and lost Game 1 of this playoff Tuesday.

“It’s probably as back and forth a game as you are going to see,” Padres manager Bob Melvin said. “A lot of drama to it. Fun win.”

Dropped from first to seventh in the batting order for matchup purposes, Profar grounded a single to right field in the sixth inning off reliever Brusdar Graterol, who took the loss. Jake Cronenworth scored for a 4-3 lead.