Alex Cobb has finally landed a deal as a free agent.

The Baltimore Orioles have agreed to a four-year, $60 million deal with Cobb, according to sources.

Cobb, 30, posted a 3.66 ERA over 29 starts for the Tampa Bay Rays in 2017.

The deal is the largest the Orioles have committed to a free agent pitcher by total value and average annual value.