Trump reveals Republican lawmaker's private health diagnosis

"Okay, that wasn’t public," Speaker Mike Johnson said during Trump's comments.

President Donald Trump on Monday publicly revealed a Republican lawmaker's private health diagnosis, saying Florida Rep. Neal Dunn faced a terminal illness and that he had helped him get lifesaving care because he liked him but also "needed his vote."

ABC News reached out to Dunn's office about Trump's comments and has not yet received a response.

Dunn, 73, announced in January he would not seek reelection in this year's midterm elections. Dunn made no mention of his health at the time, and in February his spokesperson told ABC News that the congressman would finish out the rest of his current term despite some speculation he would leave office early.

Trump's remarks on Monday came at a White House event to discuss the Kennedy Center, where he was sitting next to House Speaker Mike Johnson.

The president was praising Johnson's leadership despite a razor-thin House majority for Republicans, made even narrower by Rep. Doug LaMalfa's death earlier this year, when he brought up one lawmaker he said was "very ill."

"It looked like he wasn't going to make it," Trump said.

Trump first said he wouldn't mention the lawmaker's name before turning to Johnson and telling him to share the story, saying the House member they were discussing would "be proud."

"Okay, well. Thank you, Mr. President. Congressman Neal Dunn of Florida had had some real health challenges, and it was very serious, and had had a pretty grim diagnosis. And I mentioned it to the president and I said, 'Congressman Dunn is a real champion and a patriot because he's still coming to work, and if others got this diagnosis, they would be apt to go home and retire,'" Johnson said.

Trump then pressed Johnson to say what the diagnosis was, and Johnson replied, "It was, I mean, I think it was a terminal diagnosis."

"He would be dead by June," Trump said bluntly.

"Okay, that wasn’t public," Johnson responded. "But, yeah, okay. That’s -- it was, it was grim. That’s what I was going to say."

Trump said Dunn was suffering from "a heart problem."

"So, the long story short, the president called him to encourage him and thank him. And they had a conversation," Johnson said. "And the president mentioned in the course of the conversation, you know, 'I ought to get my doctors involved.' And they did. And within a -- within a number of hours, they took him to Walter Reed, emergency surgery. The man has a new lease on life."

Trump also recalled the conversation he had with Johnson where he learned of Dunn's diagnosis.

"I said, 'That's bad.' No. 1, it was bad because I liked him. No. 2, it was bad because I needed his vote," Trump said.

Trump said he got the White House doctors involved, who he called "miracle workers."

The president later added, "And just, you know, because I don't want to have a terrible story about this. I did it for him first and for the vote second. But it was a close second, actually. But I did it for the vote second."

Speaker Johnson's office, when asked for comment by ABC News, said it had nothing additional to share about Dunn.

ABC News' Lauren Peller contributed to this report.