Baseball legend Lou Brock, a 15-year mainstay with the St. Louis Cardinals and a first-ballot Hall of Famer, died Sunday afternoon at 81, according to the St. Louis Post-Dispatch.

The left fielder was a two-time World Series champion and a six-time all-star. He ranks second all-time in stolen bases (938), becoming the all-time leader in 1977 before Rickey Henderson passed him.

In 1979, Brock’s 19th year in the majors, he became the 14th player to join the 3,000-hit club and earned National League comeback player of the year honors. He retired at the end of that season and was inducted to the Hall of Fame in 1985.

Brock battled several medical conditions in recent years. His left leg was amputated in 2015 after an infection caused by complications from diabetes. In 2017, he was diagnosed with multiple myeloma, a blood cancer.

Brock finished his career having played 2,289 games for the Cardinals, the second most in team history behind Stan Musial. He began his career with the Cubs but was traded to St. Louis in 1964 in a deal centered around pitcher Ernie Broglio.

“I guess that fewer than 2 percent of the people in baseball thought it was a good trade for us,” Cardinals third baseman Ken Boyer later said.

Four months after the swap, Brock helped the Cardinals capture the World Series title by batting .300 with a home run and five RBI in seven games against the New York Yankees. In 1967, he hit .414 and stole seven bases as the Cardinals beat the Boston Red Sox in seven games.

The trade is still viewed as one of the most lopsided in baseball history, with the phrase “Brock for Broglio” being used to signify an uneven transaction.

A constant threat on the base paths, Brock led the NL in stolen bases eight times while playing for St. Louis, including in 1974 at 35.

The Arkansas native was just the 20th player elected to the Hall of Fame in his first year of eligibility.

The Cubs and Cardinals held a moment of silence for Brock ahead of Sunday night’s game between the teams at Wrigley Field in Chicago.

Read more baseball from The Post: