Blake Snell's lengthy free agency reached a conclusion Monday night.

The reigning National League Cy Young winner agreed to a deal with the San Francisco Giants, a source told ESPN's Jeff Passan, confirming a report by the New York Post.

The agreement is for two years and $62 million and includes an opt-out after the first season, the source told ESPN.