Walt McGrory, a former men’s college basketball player at Wisconsin, died after a battle with bone cancer, his family said in a social media post on Monday. He was 24.

McGrory played for the Badgers from 2017 to 2021, seeing action in 37 games. In April 2021, he planned to transfer to South Dakota but was diagnosed with osteosarcoma later that year.

CLICK HERE FOR MORE SPORTS COVERAGE ON foxnews.1eye.us

Walt McGrory vs Indiana

Wisconsin guard Walt McGrory, #3, tries to get around Indiana guard Josh Newkirk, #2, during a college basketball game between the University of Wisconsin Badgers and the Indiana University Hoosiers on Jan. 2, 2018 at the Kohl Center in Madison, Wisconsin. (Lawrence Iles/Icon Sportswire via Getty Images)

He chronicled his battle with the disease on his Instagram account. He died Saturday.

"Walt has always known there is something greater out there," a post on his Instagram account read. "Something with the full power to shape the world. His journey with osteosarcoma was not easy, but it helped him find that ultimate power source. He never gave up on his belief that he and others just like him could heal themselves. His mission has not changed.

ERIC MONTROSS, FORMER COLLEGE BASKETBALL STAR AND FIRST-ROUND NBA PICK, DEAD AT 52

Walt McGrory vs Wisconsin

Wisconsin Badgers guard Walt McGrory, #3, during the first half of the College Basketball game between the Rutgers Scarlet Knights and the Wisconsin Badgers on Jan. 5, 2018,  at the Louis Brown Athletic Center in Piscataway, New Jersey. (Rich Graessle/Icon Sportswire via Getty Images)

"He is still providing inspiration, love, and fight to those who need it. But now he is doing it with the whole power of the universe behind him. Whenever you need more strength in your life, open your heart and Walt will be there."

McGrory was a standout high school basketball player in Edina, Minnesota, before he committed to Wisconsin. His high school coach, Pat Dorsey, praised McGrory’s resolve through hard times.

"He had some very difficult times and some very painful moments, but he always kept his smile on," Dorsey told FOX 9.

CLICK HERE TO GET THE FOX NEWS APP

He set a school record of 2,216 career points and turned down scholarship offers to become a walk-on at Wisconsin.

The Associated Press contributed to this report.

Follow Fox News Digital’s sports coverage on X and subscribe to the Fox News Sports Huddle newsletter.