LOS ANGELES (AP) — Hall of Fame pitcher Sandy Koufax is going to work for the Los Angeles Dodgers as a special adviser.

The team announced Tuesday that the 77-year-old Koufax would join them.

Koufax will be a special adviser to team chairman Mark Walter. The former Dodgers great also will work with pitchers during spring training, a role he's held for several years.

Koufax spent 12 seasons in the majors, all with the Dodgers. He won the NL ERA title in each of his last five years and was a two-time World Series MVP. Koufax retired after the 1966 season at age 30 because of pain in his left arm.

"I'm delighted to be back with the Dodgers," Koufax said in a statement. "Some of my most cherished memories came at Dodger Stadium."