Pennsylvania Democratic Sen. Bob Casey was diagnosed with cancer in December, but has since had an "excellent prognosis," he announced in a statement Thursday.

Casey, 62, said he will undergo surgery in the next few months and that treatment for his condition will not interrupt his service in the Senate.

"Last month, I was diagnosed with prostate cancer. While this came as a shock, I can report that I have an excellent prognosis, as well as the benefit of exceptional medical care and the unwavering support of my family," Casey said.

"In the coming months I will undergo surgery, after which I am expected to make a full recovery. I am confident that my recommended course of treatment will allow me to continue my service in the 118th Congress with minimal disruption, and I look forward to the work ahead," he added.

DEMOCRAT SEN. DEBBIE STABENOW ANNOUNCES SHE WILL NOT SEEK RE-ELECTION IN 2024

Senator Bob Casey

Sen. Bob Casey, D-Pa., addresses supporters during a rally with President Biden, former President Barack Obama, Pennsylvania Democratic Senate nominee John Fetterman and Democratic gubernatorial nominee Josh Shapiro at the Liacouras Center in Philadelphia on Nov. 5, 2022. (Mark Makela/Getty Images)

President Joe Biden greets Senator Bob Casey and his wife, Terese

President Biden, left, arrives with Sen. Bob Casey and his wife Terese to speak at Wilkes University in Wilkes-Barre, Pennsylvania, on Aug. 30, 2022. (JIM WATSON/AFP via Getty Images)

FLORIDA SEN. RICK SCOTT URGES SENATE REPUBLICANS ‘TO BE BOLD… STOP CAVING IN,’ IN NEW NATIONWIDE AD BLITZ

Casey is a member of the Democratic Party who has held office in the Senate since 2007. He serves on the Senate Finance, Health, and Intelligence Committees. 

Several of his colleagues wished him well and a speedy recovery following his announcement. 

"Wishing Senator Casey well after his diagnosis," said Sen. John Fetterman, D-Pa. "He was there for me, and I’ll be right there for him during this." 

Fetterman, who was sworn in for his first term this week, suffered a stroke last year. 

MITCH MCCONNELL TO SET RECORD FOR LONGEST-SERVING SENATE LEADER AS KEVIN MCCARTHY FLOUNDERS

Pennsylvania Senator Bob Casey

Sen. Bob Casey, D-Pa., speaks during the Pennsylvania Democratic Party's 3rd Annual Independence Dinner in Philadelphia on Oct. 28, 2022. (AP Photo/Matt Rourke)

"My heart is with my friend @Bob_Casey and his family, I pray for a successful and swift treatment and recovery. I know he'll beat this," said Sen. Cory Booker, D-N.J.

Pennsylvania Democratic Gov.-elect Josh Shapiro said Casey is "a fighter for all Pennsylvanians and I am proud to call him a dear friend."

CLICK HERE TO GET THE FOX NEWS APP

"Lori and I are thinking of Bob and Terese today and sending love and warmth. We look forward to celebrating the Senator's recovery and the work we'll do together in the coming years," he tweeted.