Right-hander Aaron Nola and the Phillies agreed to a seven-year contract on Sunday, the team announced, as Philadelphia locked up its longtime rotation stalwart after nearly three weeks of inactivity in the MLB free agent market.

The club didn’t announce the deal’s value, but sources told ESPN it is worth $172 million.

The 30-year-old Nola has spent all 10 years of his professional career with the Phillies, who took him with the seventh pick in the 2014 draft and promoted him to the major leagues barely a year later.

Over that time, he has been their steadiest performer, particularly over the past six seasons, during which he started the most games in Major League Baseball (175) and threw the second-most innings (1,065⅓, just behind Gerrit Cole‘s 1,076⅔). While the Phillies’ National League East rivals, the Atlanta Braves, had spent the early part of the offseason pursuing Nola and hoping to add him to their rotation, he chose to stay in Philadelphia, a reflection of how he’d come to love the city and its rabid fan base.