HOUSTON (AP) -- Chad Qualls is returning to the Houston Astros, his original team.
The right-handed reliever agreed to a $6 million, two-year contract with a team option for 2016.
Qualls went 5-2 with a 2.61 ERA in 66 games for the Miami Marlins this year and has made at least 50 appearances in nine straight seasons. He has pitched for eight clubs in his big league career, going 45-37 with 51 saves and a 3.79 ERA in 663 appearances.
''Improving our bullpen is a top priority this offseason,'' Astros general manager Jeff Luhnow said in a statement. ''Bringing Chad back to Houston is a big step in that direction.''
The move came one day after Houston added a veteran starter in 30-year-old Scott Feldman, who signed a three-year deal. The young Astros had the worst record in the majors last season at 51-111, losing their last 15 games.
The 35-year-old Qualls was drafted in the second round by Houston in 2000 and pitched for the Astros from 2004-07, helping them reach their only World Series in 2005.
Qualls gets $2.75 million next year and $3 million in 2015 under Saturday's agreement. Houston has a $3.5 million option for 2016 with a $250,000 buyout.