Then how did Bill Mazeroski get inducted in 2001 when he retired in 1972?
Veterans' Committee selection.
While a marginal selection, to be sure, Maz was one of the greatest defensive 2b of all time, and he had the single greatest moment in the history of baseball: his 9th-inning home run in Game 7 to win the 1960 Series against the heavily-favored and dominant Yankees.