4:17 PM ET

Sources told Jeff Passan that the Los Angeles Angels have agreed to a three year contract with Tyler Anderson.

The deal was struck hours before the deadline for players to make a decision on the offer. The Los Angeles Dodgers gave Anderson a one-year, $19.65 million offer, but he chose a multiyear deal.

The Angels will lose their second-round pick and the Dodgers will get a fourth-round pick.

Anderson made his first All-Star team in his first season with the Dodgers and went 15-5 with a 2.57 earned run average. His changeup was one of the best in the game.

The last four of whom throw left-handed have been locked up by the Angels. The team will likely continue with a six-man rotation next season, which could mean another starting pitcher.

The Angels are in a state of uncertainty because of the possible sale of the team. Minasian said that he was given the ability to add players who could help the team return to the playoffs. Industrywide speculation that he would explore a trade of Ohtani was quashed by him.

If Anderson can maintain his success from last season, he will be a bargain.

He proved to be one of the sport's most durable and effective starting pitchers last season, despite being considered a tier below the likes of Jacob deGrom, Justin Verlander and Carlos Rodon. He signed for about $5 million more than the Astros paid to retain a pitcher who had an up-and-down career.