CHICAGO (AP) — Pinch-hitter Javier Báez’s single capped a two-run, ninth-inning rally and lifted the Chicago Cubs over Philadelphia 3-2 on Tuesday night to stop the Phillies’ four-game winning streak.

Kris Bryant had three hits for the Cubs and his speed helped him slide home with two runs.

Phillies slugger Bryce Harper went 0 for 4, dropping his average to .224, and failed to reach base at Wrigley Field for the first time in 19 games at the iconic ballpark. Jean Segura doubled in the first to extend his hitting streak to 12 games.

Chicago trailed 2-1 starting the ninth, but Juan Nicasio (0-2) walked Bryant leading off, Anthony Rizzo doubled and, after Willson Contreras hit a shallow flyout, Jason Heyward was intentionally walked.

Bryant scored when Albert Almora Jr. hit a chopper toward first, and Nicasio’s underhand toss to catcher J.T. Realmuto was late, a call upheld by a video review. Báez, who didn’t start for the second straight game because of a jammed right heel, lined Nicasio’s first pitch to right over a drawn-in infield.

Kyle Ryan (1-1) got two outs for the win.

Running on the pitch from second base, Bryant raced home to score in the first inning when Contreras grounded to shortstop. Bryant slid home ahead of first baseman Rhys Hoskins’ throw.

Andrew McCutchen hit a two-run single in the seventh off Brandon Kintzler.

Cubs starter José Quintana allowed two hits in six shutout innings, leaving after 100 pitches. Philadelphia’s Zach Eflin settled down after a 32-pitch first inning that included three walks and allowed one run and six hits in six innings.

© 2019 by STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.