The Detroit Tigers announced Friday that they agreed to a one-year contract with two-time All-Star reliever Joel Hanrahan.

According to reports, he will receive a $1 million salary and incentives could make the deal worth up to $2 million.

Hanrahan, a former closer, is 22-18 with a 3.85 ERA and 100 saves in seven seasons with the Washington Nationals, Pittsburgh Pirates and Boston Red Sox. He was an All-Star in 2011 and '12 for the Pirates.

General manager Dave Dombrowski said Hanrahan will begin a rehab assignment at the Tigers' extended spring program in Lakeland, Fla.

"We're willing to take our time in this situation because we realize we need to be careful with him coming back from Tommy John surgery," Dombrowski said. "He's still in spring training mode. But we think this situation is well worth the gamble for us. We think he'll help stabilize the back end of the bullpen when he's ready."

Hanrahan's agent, Larry Reynolds, said his client could be ready in five to eight weeks.

"I don't want to put a time frame on it and I don't think Dave does," Hanrahan said on a conference call. "I don't think anybody is saying, 'You've got to be back on June 1.' I haven't faced a hitter yet. I haven't bounced back from throwing in a game, so it's a situation that will come day by day.

"If I'm ready in 30 days, that's great. If it takes 40 days, I think we're all on board that that's what it will take."

It is assumed he will set up closer Joe Nathan, whom the Tigers signed in the offseason.

The Tigers' bullpen has struggled with a combination of injuries and ineffectiveness. Hanrahan figures to be a significant help as a bridge to Nathan in the late innings. Detroit's bullpen owns a 5.37 ERA, which is 29th in the major leagues.

Hanrahan, 32, threw for about 20 teams during a recent workout in Florida. The New York Yankees, New York Mets, Texas Rangers and Red Sox were among the other teams interested.