ESPN baseball analyst and former major league pitcher Curt Schilling announced Wednesday that he has cancer.

"I've always believed life is about embracing the gifts and rising up to meet the challenges," Schilling said in a statement released by ESPN. "We've been presented with another challenge, as I've recently been diagnosed with cancer."

In December, ESPN announced that Schilling would be part of its "Sunday Night Baseball" broadcast team for the upcoming season. It also announced a multiyear contract extension with him.

ESPN did not say what Schilling's broadcast plans will be for the upcoming season.

"Our thoughts are with Curt and his family during this challenging time," the network said in a statement. "His ESPN teammates wish him continued strength in his cancer fight and we look forward to welcoming him back to our baseball coverage whenever he's ready."

Schilling, 47, pitched in the majors for 20 seasons for the Baltimore Orioles, Houston Astros, Philadelphia Phillies, Arizona Diamondbacks and Boston Red Sox. The six-time All-Star finished with a record of 216-146 and a 3.46 ERA. His 3,116 strikeouts rank 15th all time.

The right-hander, though, was best known for his performances in the postseason. In 19 starts, he compiled an 11-2 record with four complete games and a 2.23 ERA. He'll forever be a part of Red Sox lore, helping them to World Series titles in 2004 and '07.

Schilling also won a title as a member of the Diamondbacks in 2001, when he shared MVP honors with fellow starter Randy Johnson.

Last year, Schilling told The Boston Globe he had a heart attack in November 2011 and had surgery to place a stent in one of his arteries. He said he experienced chest pains while watching his wife, Shonda, run in the New York City Marathon.

Shonda Schilling also battled cancer after being diagnosed with stage 2 malignant melanoma in 2001.