House of Commons Speaker Sir Lindsay Hoyle has revealed he was diagnosed with diabetes shortly before the general election.
The 62-year-old MP learned he had the condition, most likely Type 1 diabetes, after losing three stone
Sir Lindsay was urged by his family to visit doctors after becoming ill.
He said the symptoms had been so severe that he was advised to stay in hospital, but he refused to miss the election campaign.
Sir Lindsay was elected as Speaker shortly before Parliament was dissolved for the general election, succeeding John Bercow.
He added: "I'm on tablets, as well as having to inject insulin, but it doesn't stop me carrying on and nothing is going to be a barrier to me.
"I'm going to cope with it. I'm going to manage it. I'm going to get through this."
Sir Lindsay also said: "The fact is I feel really well. We know what it is - that's the good news - and of course, I have got to get over it and get on with my job.
"The House of Commons elected me to be the Speaker and there's nothing that's going to stop me from doing that."
Sir Lindsay cited former Prime Minister Theresa May as inspiration for dealing with the condition. She was diagnosed with Type 1 diabetes in 2013, when she was home secretary.
Type 1 diabetes is a result of the pancreas failing to produce any insulin, which causes deregulated blood sugar levels.
Symptoms can include feeling thirsty, losing weight, blurred vision, tiredness and urinating more often than usual.
Sir Lindsay revealed his condition during an interview with filmmaker Rob McLoughlin for the forthcoming documentary series Mr Speaker.
Speaking on the BBC News Channel, he discussed the decision to reveal his diagnosis in the documentary.
He said: "What I wanted to do is show where I'm at and the fact I have to get on with the job I've got. And I'll live with this, I'll manage it and I want to inspire others."
Sir Lindsay also said it had been "hard to accept" and that the initial diagnosis had come as a "shock to the system".
He encouraged viewers to go their doctor if they were concerned about their health and added that he now felt "great, full of energy and ready to get on with my role."
Chris Askew, chief executive of Diabetes UK, said: "Living with type 1 diabetes can be hard, but as Sir Lindsay's experiences have shown, with the right support from your healthcare team - and careful management - people can live full and healthy lives following their diagnosis."