HOUSTON (AP) -- The Astros ended their team-record losing streak at 12 games, beating the Pittsburgh Pirates 9-5 Sunday behind three hits and three RBIs from Marwin Gonzalez.
Hours after Houston traded third baseman Chris Johnson to Arizona -- the Astros' fifth deal of the month -- Jordan Schafer homered and drove in three runs.
Houston, a big league-worst 35-68, won for only the third time in 28 games but has traded players with salaries totaling 49 million.
Lucas Harrell (8-7) allowed two runs and five hits in 5 2-3 innings, his first victory in five starts since a six-hit shutout against San Diego on June 27.
The skid matched Kansas City (April 11-24) and the Chicago Cubs (May 15-27) for the longest in the major leagues this year. It broke the previous Astros record of 11, set from Aug. 17-28, 1995, and matched over the end of the 2009 season and start of 2010, according to STATS LLC.
James McDonald (10-5) walked a career-high seven in five innings, allowing five runs and si...