The Angels, who have dealt with a raft of pitching injuries over the past few years, are taking a chance on Matt Harvey, who has never lived up to his lofty potential because he’s sustained a series of injuries.

Harvey and the Angels on Tuesday agreed to a one-year deal worth $11 million, according to a source with knowledge of the agreement. He could earn up to $14 million, with incentives. It is pending a physical.

Harvey, 29, was one of baseball’s budding stars with the New York Mets in 2013, when he finished fourth in the National League Cy Young voting. After missing a season because of Tommy John surgery, he returned to again have a strong season in 2015.

Since then, though, Harvey has had two more surgeries, been suspended by his team for violating rules and been sent to the bullpen. He was eventually designated for assignment and traded last May. Harvey has a 5.39 ERA in the past three seasons, averaging 113 innings per season.

After the Mets designated Harvey for assignment last season, they traded him to the Cincinnati Reds, and he finished the season with a 4.50 ERA over 24 starts.

Sign up for Home Turf and get exclusive stories every SoCal sports fan must read, sent daily. Subscribe here.

Harvey could bolster an Angels rotation that currently is led by only two pitchers who have had even one full major league season: Tyler Skaggs and Andrew Heaney. Skaggs and Heaney have also dealt with injuries over the past few seasons.

Harvey was originally drafted by the Angels out of high school in the third round in 2007, but they couldn’t reach an agreement and he went to the University of North Carolina. The Mets then picked him with the seventh overall pick in the 2010 draft.

Harvey posted a 2.73 ERA in 10 games as a rookie in 2012, and in 2013 he earned an All-Star bid, on his way to a 2.27 ERA in 178-1/3 innings.

After Tommy John surgery, Harvey was still a solid member of the Mets rotation in 2015, helping the team to the World Series.

The next three seasons saw Harvey have surgery for thoracic outlet syndrome (in 2016) and for a fractured scapula (in 2017). He was also suspended at one point for violating team rules.

In 2018, Harvey was moved to the bullpen, and eventually, the Mets let him go.

The Angels agreed with Harvey after at least three other starting pitchers had turned down offers. They had pursued Patrick Corbin, Nathan Eovaldi and A.J. Happ. They signed with the Washington Nationals, Boston Red Sox and New York Yankees, respectively.

The Angels still likely are in the market for at least one more starter, and perhaps a reliever, as well as a catcher.

They lost out in their bid for catcher Wilson Ramos, who signed with the Mets on Monday. The Angels offered Ramos $19 million for two years, the same value of the deal he signed with the Mets. Ramos said he preferred to play in the National League East, where he was familiar with the teams.