SAN FRANCISCO (AP) - Left-hander Matt Moore was traded from the San Francisco Giants to the Texas Rangers for minor league right-handers Israel Cruz and Sam Wolff.

Texas also received $750,000 in international signing bonus pool allotment from the Giants as part of the trade announced Friday.

San Francisco last month exercised Moore's $7 million option for 2018. He went 6-15 with a 5.52 ERA in 174 1/3 innings last season, setting a career high for losses, as the Giants finished last in the NL West. He allowed a career-worst 107 earned runs.

He joins a rotation with two other lefties in 13-game winner Martin Perez and Cole Hamels, who won 11 games this year. Right-hander Andrew Cashner, another 11-game winner, became a free agent after completing a $10 million, one-year deal with Texas.