The lights burned bright at Dodger Stadium on a Friday night that felt destined to stretch past midnight. By the time Tommy Edman stepped to the plate with two outs in the bottom of the 10th inning, the tension had become almost unbearable. The Pirates had just taken a 4-3 lead in the top half, only for the Dodgers to claw back with a run in the bottom of the ninth to force extras. Now, with the bases loaded and a full count, Edman laced a 2-2 fastball into the right-center gap, sending the crowd of 52,000 into a frenzy as the winning run trotted home.

Edman's walk-off single capped a night of back-and-forth baseball that showcased the resilience of both teams. The Dodgers struck first in the third inning on a solo home run by Shohei Ohtani, his 38th of the season. But the Pirates answered quickly, tying the game in the fourth on a sacrifice fly by Bryan Reynolds. The score remained deadlocked until the seventh, when Pittsburgh's Ke'Bryan Hayes launched a two-run homer off Dodgers reliever Evan Phillips, putting the visitors up 3-1.

Los Angeles refused to fold. In the bottom of the seventh, Freddie Freeman doubled to lead off, and Will Smith followed with an RBI single. After a groundout moved Smith to second, Max Muncy tied the game with a line-drive single to left. The bullpens took over from there, each side trading zeros until the 10th, when automatic runner Oneil Cruz scored on a Nick Gonzales sacrifice fly to give the Pirates a 4-3 edge.

With the game on the line, the Dodgers' offense showed its mettle. Mookie Betts led off the bottom of the 10th with a walk, and Ohtani moved him to third with a single. After a strikeout, Freeman was intentionally walked to load the bases. Smith then struck out, bringing Edman to the plate. The crowd roared as Edman, who had already contributed a key defensive play in the ninth, fought off a series of pitches before delivering the decisive blow.

"I just wanted to put the ball in play," Edman said after the game. "I knew if I got something in the zone, I could get it through. The energy in this stadium is incredible."

Dodgers manager Dave Roberts praised his team's perseverance. "We never quit. We've been through a lot this year, but the guys keep fighting. Tommy came up huge for us tonight."

The Pirates, meanwhile, were left to rue missed opportunities. Despite racking up 10 hits, they stranded 11 runners and went 1-for-9 with runners in scoring position. Manager Derek Shelton acknowledged the frustration but pointed to the fight his team showed. "Our guys battled. We just couldn't get that one more hit when we needed it."

For Edman, the walk-off was the latest highlight in a season that has seen him become a vital piece of the Dodgers' lineup. Acquired from the Cardinals in a mid-season trade, he has hit .314 with 12 home runs and 45 RBIs in 60 games with Los Angeles. His versatility in the field and his ability to come through in clutch moments have made him an indispensable asset as the team pushes toward the postseason.

The win moved the Dodgers to 82-48, extending their lead in the National League West to 6.5 games over the second-place Diamondbacks. The Pirates fell to 64-66, their playoff hopes fading but still alive in the wild-card race.

As the final pitch was thrown and the celebration began at home plate, the fans who had feared an all-nighter instead headed for the exits with smiles, grateful for the early heroics of a player who is quickly becoming a legend in Los Angeles.