CHICAGO (AP) — Brett Wallace hit a three-run homer in San Diego’s four-run seventh inning, and the Padres stopped the Chicago Cubs’ eight-game win streak with a 7-4 victory on Wednesday in the opener of a day-night doubleheader.

Wil Myers had two hits and scored two runs for San Diego, which had lost three in a row. Carlos Villanueva (1-0) pitched a scoreless inning for the win, and Fernando Rodney got three outs for his ninth save.

The Cubs, who have the best record in the major leagues at 25-7, had been 18-2 this season when leading after six innings. But Pedro Strop (1-1) failed to retire any of the five batters he faced in the seventh and was charged with three runs and three hits.

Ben Zobrist and Addison Russell each had two hits and drove in a run, but Chicago wasted a solid start by Kyle Hendricks.

The Padres got off to a fast start, pushing across two runs before Hendricks recorded an out. Travis Jankowski walked, stole second and scored on a throwing error by Cubs third baseman Javier Baez. Matt Kemp then singled in Myers to make it 2-0 in the first.

San Diego had runners on second and third when Jose Pirela grounded out for the final out of the inning, and Hendricks settled down from there. He allowed three runs, two earned, and six hits in 6 2/3 innings.

The Cubs got a run back in the bottom of the first on Anthony Rizzo’s RBI single, and Zobrist tied it at 2 with a run-scoring single in the second.

Chicago then went in front with two runs in the fourth. Baez was hit by a pitch and scored from first when Russell followed with a double to right field. The next batter, backup catcher Tim Federowicz, doubled off the wall in left for a 4-2 lead.

Copyright 2016 The Associated Press.