The Padres snapped a 3-3 tie with two runs against the Dodgers bullpen in the seventh inning Monday night to defeat Los Angeles 6-3 in the opener of a three-game series before 52,136 at Dodger Stadium.

The victory snapped a five-game losing streak for the 3-10 Padres and evened their season series against the Dodgers at 2-2.

The game, played on the 66th anniversary of Jackie Robinson breaking the color barrier in the major leagues, was played without incident after the Southern California rivals battled through two bench-clearing brawls at Petco Park last Thursday night.

The Padres took advantage of three walks and a pinch-hit single by Jesus Guzman in the seventh.

The key at-bat was by pinch-hitter Chris Denorfia, who battled back from a 0-and-2 count to draw an 10-pitch, bases-loaded walk to force home Cameron Maybin with the tie-breaking run. The second run scored on a double play grounder by Yonder Alonso.

“At 0-and-2, you’re almost like a rat trapped in the corner,” said Denorfia. “He threw some good two-strike pitches. I really had to battle that at-bat. I had to fight off a couple good sliders, including a nasty back-door slider.”

The Padres added their last run in the ninth on a bases-loaded sacrifice fly by Kyle Blanks.

The three runs over the last three innings made a winner of Padres starter Eric Stults, who staked himself to a 3-0 lead with the first home run of his career in the top of the second. But he couldn’t hold onto the advantage as the Dodgers scored single runs in the third, fourth and fifth innings.

The homer by Stults, who has two of the Padres three wins, wasn’t the first notable achievement in the Padres second.