The Chicago White Sox have pulled off a trade to get right-handed pitcher Brett Myers from the Houston Astros.

Fox Sports’ Ken Rosenthal reported the deal via Twitter.

Major League Baseball detailed what the Astros received in return.

The White Sox currently hold a half-game lead over the Detroit Tigers in the AL Central and their relievers have an ERA of 4.01 this season, which ranks third from the bottom in the American League. Myers will bolster the team’s bullpen.

As Chris Cwik of CBS Sports notes, Myers’ contract earns him $11 million this season and includes a $10 million team option for next year, as well as a $3 million buyout clause.

Myers started his major league career in 2002 as a starting pitcher with the Philadelphia Phillies. He spent time as a closer with the Phillies, but returned to a starting role when he signed with the Astros in 2010.

He started 33 games in both 2010 and 2011 for Houston, but the team designated him as the closer for this season.

Myers started off on fire and was nearly untouchable in his first 17 save opportunities. As noted by Chip Bailey of the Houston Chronicle, he had a 1.99 ERA and recorded 16 saves.

He has been unable to keep that pace and currently has 19 saves and a 3.52 ERA. He has 20 strikeouts and six walks in 30.2 innings pitched.

Major League Baseball’s trade deadline is on July 31, and the White Sox addressed a team weakness in order to make a push for the postseason.

Houston is in last place in the NL Central and was looking to sell off tradable assets, making the trade a mutually beneficial transaction.

Read more MLB news on BleacherReport.com