Edward Olivares and Nick Gonzales homered, and the Pittsburgh Pirates beat the Chicago Cubs 5-4.

Olivares hit a two-run homer in the first inning. He also doubled and scored in the sixth against Cubs starter Justin Steele.

Gonzales hit a solo drive in the fourth, and Jared Jones threw six solid innings.

Colin Holderman gave up a sacrifice fly to Christopher Morel in the eighth, but the Pirates opened the four-game series on a winning note after losing six of eight.

They dropped two of three to the Cubs in Pittsburgh over the weekend.