Anaheim Ducks goaltender Ryan Miller announced Thursday he will retire at the end of this season, his 18th in the NHL.

Miller, who won Vezina Trophy in 2010, has a career record of 390-289-87 record with a 2.64 goals-against average and .914 save percentage (SV%) in 794 career games with the Buffalo Sabres, St. Louis Blues, Vancouver Canucks and Ducks.

The 40-year-old has a 3-8-1 record this season with a .882 save percentage and a 3.22 goals-against average.