PHILADELPHIA (AP) — The Philadelphia Phillies and shortstop Didi Gregorius have agreed on a two-year, $28 million contract, according to a person familiar with the deal.

The person spoke to The Associated Press on condition of anonymity Saturday because the deal is pending Gregorius passing a physical.

READ MORE: WATCH LIVE: Montgomery County, Pennsylvania Officials Join With Area Hospital Leadership To Discuss COVID Surge

Gregorius, who turns 31 next month, batted .284 with 10 homers, 40 RBIs, and an .827 OPS in 60 games in his first season with the Phillies.

Gregorius hit .274 and averaged 20 homers and 75 RBIs over four seasons with the Yankees between 2015-18. He hit 16 homers and drove in 61 runs in 82 games in 2019 after Tommy John surgery on Oct. 17, 2018, to repair a torn elbow ligament.

The Phillies signed two-time All-Star catcher J.T. Realmuto to a five-year, $115.5 million deal earlier in the week.

READ MORE: WATCH LIVE: Philadelphia Health Department To Provide A COVID-19 Update

Philadelphia hasn’t reached the postseason since 2011, the last year it had a winning record. The Phillies finished 28-32 in a pandemic-shortened 2020 season, missing a wild-card berth by one game in the expanded playoff format.

(Copyright 2021 by The Associated Press. All Rights Reserved.)

MORE FROM CBSPHILLY.COM

MORE NEWS: Dump Truck, 3 Other Vehicles Involved In Chester County Crash On Route 30

New Eagles Head Coach Nick Sirianni Hasn’t ‘Really Thought About’ If Carson Wentz Or Jalen Hurts Will Start At Quarterback