The San Francisco Giants have agreed to a three-year, $42 million deal with Jorge Soler, according to a source.

The deal was first reported early Tuesday by the San Francisco Chronicle.

Soler declined a $9 million player option for the 2024 season with the Miami Marlins, making him a free agent.