Right-hander Trevor Rosenthal signed a $4.5 million, one-year contract with the San Francisco Giants on Thursday.

Rosenthal has a chance to pitch in the majors for the first time since 2020. He will be on the injured list with a hamstring strain initially, and manager Gabe Kapler said he's several weeks away from helping the team.