Updated

The Detroit Tigers and manager Jim Leyland have reached an agreement on a one-year contract extension for the 2013 season, the team announced on Tuesday.

The news comes just days after the Tigers were swept by the San Francisco Giants in the World Series. Leyland's entire staff was invited back.

Leyland guided the Tigers to their second straight AL Central title this year, making him just the second manager to lead Detroit to three postseason berths.

The 67-year-old is the longest-tenured active manager in the majors, having managed 21 seasons in the big leagues. Leyland has an overall record of 1676-1659, including a mark of 607-528 over seven seasons with the Tigers.

His longest and best-known tenure came with the Pittsburgh Pirates, where over 11 seasons (1986-96), he guided the Bucs to three consecutive NL East titles from 1990-92.

However, he tasted ultimate success in 1997 as manager of the Florida Marlins, taking a 92-win team to a World Series championship. After one more season in Miami, Leyland spent 1999 as manager of the Colorado Rockies.