PHOENIX (CBSDFW.COM/AP) – Left-hander Jake Diekman went from one clubhouse to the other in Arizona after being dealt by the Texas Rangers to the Diamondbacks just before the non-waiver trade deadline Tuesday.

Diekman struck out two while pitching the ninth inning for Texas in its win at Arizona on Monday night.

READ MORE: Mesquite Police Identify Officer Killed In Shooting, Vigil To Be Held Sunday

Texas got right-hander Wei-Chieh (Way-Jay) Huang and a player to be named later from Diamondbacks. Huang was assigned to Double-A Frisco.

Diekman was the fourth pitcher traded by the Rangers in the past two weeks. Lefty starter Cole Hamels and reliever Jesse Chavez were sent to the Chicago Cubs in separate deals earlier this month, and closer Keone Kela was traded to Pittsburgh late Monday night.

The 31-year-old Diekman was 1-1 with two saves and a 3.69 ERA in 47 appearances with the Rangers this season. He is 4-4 with a 3.57 ERA in seven big league seasons with Philadelphia and Texas.

Jake Diekman #41 of the Texas Rangers throws against the Kansas City Royals at Kauffman Stadium on June 20, 2018 in Kansas City, Missouri. (Photo by Ed Zurga/Getty Images)

READ MORE: 1 Killed, 3 Injured In Arlington Car Accident

Diekman wrote a heartfelt note on Twitter to the Rangers organization and Rangers fans.

The 24-year-old Huang was a combined 6-2 with a 2.31 ERA in 29 games with Class A Visalia and Double-A Jackson this season.

Wei-Chieh Huang #1 of the World Team throws a pitch against the U.S. Team during the SiriusXM All-Star Futures Game at the Great American Ball Park on July 12, 2015 in Cincinnati, Ohio. (Photo by Elsa/Getty Images)

Arizona also designed left-hander Jorge De La Rosa for assignment.

The Rangers are currently in last place in the American League West division with a 46-62 record.

MORE NEWS: No. 3 Cincinnati Claims AAC Crown, Possible Playoff Spot

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)