Baseball lifer Phil Garner, who won a World Series as a player with the Pirates and took the Astros to a World Series as a manager, died Saturday after a battle with pancreatic cancer.

He was 76.

“Phil Garner passed away peacefully last night, April 11, surrounded by family and love after a two-plus-year battle with pancreatic cancer,” his family said in a statement. “Phil never lost his signature spark of life, he was so well known for, or his love for baseball, which was with him until the end. Special thanks to the Houston Medical Center, MD Anderson, Baylor St. Lukes and all the Doctors and Nurses for their excellent care and support.”

Phil Garner waves to the crowd during a ceremony honoring the 1979 Pittsburgh Pirates World Series Championship before the game against the Philadelphia Phillies at PNC Park on July 20, 2019 in Pittsburgh, Pennsylvania. Getty Images

Garner played from the Majors from 1973-88, spending notable stints with the Oakland A’s, Pittsburgh Pirates and Houston Astros, most notably.

Garner, who starred with the Pirates from 1977-81, won a World Series with the team in 1979.

Two of his three All-Star appearances also came while representing the Pirates in 1980 and ’81, respectively.

His first All-Star appearance came in 1976, his last with the A’s.

Garner was also a longtime MLB manager after his playing career.

Former Astro Phil Garner throws out the ceremonial first pitch for game one of the American League Championship Series between the Houston Astros and the New York Yankees at Minute Maid Park on October 13, 2017 in Houston, Texas. Getty Images

Garner led the dugout of the Milwaukee Brewers from 1992-99, the Detroit Tigers from 2000-02, and the Houston Astros from 2004-07.

“He was competitive. He was honest. He told you the truth. He made you accountable — all the great things that leaders do,” said Jeff Bagwell, who played for Garner while with the Astros. “I think Gar just did a tremendous job of that. You could see how much he cared about his players, cared about winning and our organization. It was just a pleasure to play for him and be his friend.”

As a manager, Garner’s best work came with the Astros, whom he led to a World Series appearance in 2005, losing to the Chicago White Sox led by Ozzie Guillen.

Phil Garner of the Pittsburgh Pirates poses before an MLB game at Wrigley Field in Chicago, Illinois. Garner played for the Pittsburgh Pirates from 1977-81. Getty Images

He retired with a 277-252 record as a manager, with a 13-13 display in the playoffs.

As a player, he put up a career .260 average with 1,594 hits, 299 doubles, 225 stolen bases, 109 homeruns and 738 RBIs.