Miami Marlins and Jean Segura agree to 2-year, $17 million contract, according to The Associated Press

MIAMI — The Miami Marlins have agreed to a two-year, $17 million deal with infielder Jean Segura, a person with knowledge of the talks said Wednesday.

The deal is contingent on Segura — a two-time All-Star — completing his physical, according to the person, who spoke to The Associated Press on condition of anonymity because the Marlins have yet to announce the signing.

It was the first free-agent transfer of the offseason for the Marlins, who came off a 69-93 season — their 12th losing record in the past 13 years. They’ve also seen no shortage of moves from NL East rivals Atlanta, Philadelphia and the New York Mets to try and improve their rosters; the Braves are the 2021 World Series champions, and the Phillies won the NL pennant this year and then won the World Series. Lost to Houston.

Segura played in the World Series with the Phillies. He hit .277 in 98 games and then hit .214 for Philadelphia in the playoffs.

Miami became Segura’s sixth team. In addition to the Phillies, Segura has also played for the Milwaukee, Seattle, Arizona and Los Angeles Angels.

In 11 seasons and 1,479 games, he hit .285. Segura became a free agent in November when the Phillies turned down a $17 million option to keep him until 2023.