Cosart leaves Padres' game after injuring right leg

San Diego Padres starting pitcher Jarred Cosart works against a Boston Red Sox batter during the first inning of a baseball game Wednesday, Sept. 7, 2016, in San Diego. (AP Photo/Gregory Bull)
Gregory Bull/AP

SAN DIEGO (AP) Padres starter Jarred Cosart left Wednesday night's game against the Boston Red Sox in the fourth inning after straining his right hamstring and groin.

Cosart landed awkwardly after leaping to catch an erratic throw while covering first base on Jackie Bradley Jr.'s grounder to first baseman Wil Myers.

Carlos Villanueva relieved Cosart with the game tied 2-2.