The Philadelphia Phillies have agreed to terms on a one-year deal with right-handed reliever David Hernandez, according to a club announcement made on Wednesday evening at the Winter Meetings in Nashville.

According to Jeff Passan of Yahoo Sports, Hernandez will receive $3.9 million over the time period of his contract.

The deal also includes incentives based on games finished, as Passan notes. As noted by MLBTradeRumors, Hernandez can reach up to $1 million in performance bonuses, $250,000 each for 35, 40, 45, and 50 games finished.

Chris Cotillo of SB Nation first reported the possibility of a deal between the two sides on Tuesday night, though a club confirmation had not been made at the time. 

Ken Rosenthal of Fox Sports reported that an agreement had been reached with the approval of a physical examination pending on Wednesday night.

Hernandez joins a club under the management of new president Andy MacPhail, who has been promoted to take over for Pat Gillick in 2016. Gillick spent a short time with the team making what he felt were the best decisions for the ball club.

Hernandez was originally drafted by the Baltimore Orioles back in 2005, and MacPhail was the man on the other end who made that selection as he had just become the club's president of baseball operations there as well.

Hernandez, 30, has spent the past four seasons with the Arizona Diamondbacks while pitching out the bullpen in a late inning role. Looking at 2015, he pitched with a 4.28 ERA alongside a record of 1-5 in 40 relief appearances, while having struck out 33 hitters in 33.2 innings pitched.

Hernandez missed the entirety of the 2014 season while recovering from Tommy John surgery, however, that did not change the way in which he performed upon his return as his velocity remained within the mid-90s.

Hernandez provides the Phillies with a veteran right-hander who is highly capable of taking on any capacity of work, as he has shown at times to be very dominant.

For his career, Hernandez owns 25-35 record to the tune of a 4.15 ERA. In 414.1 innings, Hernandez has struck out 414 batters. Philadelphia is getting a relief pitcher who still has some upside and can get outs later in the game. A change of scenery could help get Hernandez back on track.