LOS ANGELES — The Los Angeles Dodgers have traded reliever Sergio Romo to the Tampa Bay Rays in a deal between playoff contenders.

The NL West-leading Dodgers sent Romo to the Rays for a player to be named or cash. As part of the deal, Los Angeles will pay Tampa Bay $414,934 on Sept. 30 to cover a portion of the $1,163,934 remaining in the pitcher’s $3 million salary, leaving the Rays to pay $749,000.

Related Articles When Giants need him at his best, Johnny Cueto struggles in blowout loss to Rockies

San Francisco Giants’ assistant coach Alyssa Nakken shows up on Jeopardy

San Francisco Giants preparing to enter quarantine ahead of possible playoff appearance

SF Giants get Alex Dickerson back, cut hitless veteran Justin Smoak

SF Giants Gameday podcast: Who thought the Giants would still be talking playoffs?

Romo’s trade was announced after Tampa Bay, which holds an AL wild-card spot, lost to Texas on Saturday night.

Romo was designated for assignment by the Dodgers on Thursday. The 34-year-old righty was 1-1 with a 6.12 ERA in 30 appearances for Los Angeles.

Romo spent his first nine seasons with the Giants before signing with the Dodgers this year. He is 3-1 with four saves and a 3.09 ERA in 27 postseason games, including six scoreless innings in helping the Giants win three World Series championships.