SAN FRANCISCO -- The Giants turned to a familiar name to fill one of the two remaining spots in their starting rotation.

Right-hander Tim Hudson, the former A's ace, agreed to terms on a two-year, $23 million deal with the Giants on Monday. Drafted by the A's in 1997, Hudson will return to the Bay Area after nine strong seasons with his hometown Atlanta Braves.

Hudson, 38, leads all active right-handers in career wins (205) and has a 3.44 ERA in 15 big league seasons. The Georgia native had a 3.97 ERA in 21 starts for the Braves last year, but his season was cut short by a gruesome ankle injury. Hudson was covering first base in a game against the New York Mets on July 24 when he was stepped on by base runner Eric Young Jr. Hudson suffered a fractured right ankle and ligament damage and required surgery. He reportedly is nearing the end of the rehab process and might begin throwing later this month.

Tim Hudson fires a pitch during the bottom of the first inning during a game between the Atlanta Braves and San Francisco Giants, July 24, 2007 at AT&T
Tim Hudson fires a pitch during the bottom of the first inning during a game between the Atlanta Braves and San Francisco Giants, July 24, 2007 at AT&T Park. (Gary Reyes/Mercury News) (Gary Reyes)

Hudson finished second in the American League Cy Young Award voting in 2000, his first full season in Oakland. He was a two-time All-Star for the A's while joining Mark Mulder and Barry Zito (who parted ways with the Giants after the 2013 season) in giving the organization one of the best young pitching trios the game has ever seen.

The A's traded Hudson to the Braves in 2004, and according to ESPN's Buster Olney, Oakland finished second in the bidding for Hudson's services in recent days.

A dependable, ground-ball pitcher, Hudson is a perfect fit for a Giants organization that has a wealth of pitching talent at the lower levels of the minors. General manager Brian Sabean said in September that he expects the prized arms to start arriving in San Francisco in 2015, and Hudson can help bridge the gap while providing another veteran presence in the rotation. He joins Matt Cain, Madison Bumgarner and Tim Lincecum in a rotation heavy on experience and postseason success.

The Giants have committed $148 million to Hunter Pence, Lincecum and Hudson in the past two months but still need one more starting pitcher. They have been connected to veterans such as Bronson Arroyo, Josh Johnson and Dan Haren and also could reunite with Ryan Vogelsong after declining his option earlier this month.

For more on the Giants, see Alex Pavlovic's Giants Extra blog at blogs.mercurynews.com/Giants. Follow him on Twitter at twitter.com/AlexPavlovic.