TORONTO — Texas Rangers right-hander Jon Gray left Sunday’s start against Toronto without throwing a pitch after appearing to injure himself while warming up for the bottom of the first inning.

The Rangers, who got just two outs from starter Michael Lorenzen in Saturday’s 7-3 loss, brought in right-hander Jonathan Hernández to pitch in Gray’s place. Hernández allowed three runs in the first inning, two on a home run from Daulton Varsho.

Texas entered play Sunday having lost two straight after winning the previous five.

Gray came in 5-4 with a 3.73 ERA in 20 games. He’d gone 2-0 with a 3.57 ERA in four July appearances, three of them starts. The 10-year veteran is in his third season with the Rangers. He left Colorado to sign a four-year contract with Texas following the 2021 season.

Texas got 4 1/3 innings from right-hander José Ureña and three from righty Dane Dunning on Saturday, meaning neither is likely available out of the bullpen Sunday. That left five other active relievers besides Hernández. José Leclerc, David Robertson, Josh Sborz and Kirby Yates are right-handers, and Jacob Latz is the lone left-hander.