The San Diego Padres have reached an agreement on a deal with Michael Wacha, according to sources.

The deal is pending a physical and has not yet been confirmed by the club.

Exact terms of the contract were not immediately known, but a source said it could potentially reach as many as four years. 

Wacha, 31, is coming off a season in which he posted a 3.32 ERA in 23 starts for the Boston Red Sox.