The Dodgers bid farewell to outfielder Andre Ethier on Sunday, declining his 2018 option and casting the longest-tenured member of their roster into free agency.

Ethier, 35, receives a $2.5-million buyout. The Dodgers would have owed him $17.5 million next season had they picked up his option.

Ethier played in a record 51 postseason games for the Dodgers. In what probably was his final at-bat for the team, he delivered a pinch-hit single that drove in the Dodgers’ lone run in Game 7 of the World Series.

The Dodgers acquired Ethier, a fan favorite, for outfielder Milton Bradley in 2005, in the first trade made by former general manager Ned Colletti.