Maryland's longtime Senate president said Thursday he plans to carry out his Senate responsibilities as he fights prostate cancer and undergoes chemotherapy during the state's legislative session.

Senate President Thomas V. Mike Miller choked up before making the announcement in the Senate chamber, as some of his top aides from over the years watched from the gallery. The 76-year-old Democrat is entering his 33rd year as president of the Maryland Senate. He's the longest-serving state Senate president ever in Maryland and in the nation.

"With your continued support and indulgence, I fully intend to fight this disease as so many have and to fully carry out my Senate responsibilities," Miller said in a statement released as he addressed his colleagues on the second day of the state's 90-day session.

Senate President Thomas V. Mike Miller speaks in the State Senate chamber in Annapolis on Wednesday, Jan. 9, the first day of the state's 2019 legislative session.(Photo: Patrick Semansky, AP)

Miller said he been experiencing significant back pain after hip and knee replacement surgery "that never seemed to heal appropriately." He was diagnosed in July with prostate cancer and prescribed medication and physical therapy.

"Despite these treatments, the pain did not subside and on December 27th, I awoke with a sharp pain in my leg," Miller said. "After another series of tests at Johns Hopkins, the oncologist informed me and my family that the prostate cancer could no longer be managed through pharmaceuticals alone and that additional treatment would be necessary."

Senators walked up to hug their longtime leader after Thursday's session adjourned.

Senate President Thomas V. Mike Miller, left, and Maryland Gov. Larry Hogan laugh as they sign a series of bills during a ceremony in Annapolis, Md., Tuesday, April 10, 2018. The day after the state's 2018 legislative session wrapped up, Democrat and Republican state lawmakers highlighted bipartisan work in contrast to partisan gridlock in the nation's capital.(Photo: Patrick Semansky)

"It's just a sad day for us, but as I've said we have to keep it together for the Senate's sake and that's what our president wants us to do, and we will just move on forward and do the best job we can and we all have to work together to make that happen," said Sen. Kathy Klausmeier, who as Senate President Pro Tem will lead the chamber if Miller is absent.

Sen. Addie Eckardt, an Eastern Shore Republican, said senators will rally around the longtime Senate chief.

"It's very scary when your leaders are more vulnerable than they have been in the past, but I think it's a great opportunity for leadership to rally around him and support him," Eckardt said.

Miller isn't alone among top Maryland leaders with health concerns in recent years.

House Speaker Michael Busch, 72, had bypass surgery last year and a liver transplant the year before. Gov. Larry Hogan, 62, was diagnosed with B-cell non-Hodgkin lymphoma in 2015. The governor announced he was in remission in November 2016.