Donald Trump slammed Nancy Pelosi and Mitt Romney for using their faith to justify their actions in the impeachment process during his remarks at the National Prayer Breakfast Thursday morning.

He did not mention the two by name but his meaning was clear.

'I don't like people who use their faith as justification for doing what they know is wrong. Nor do I like people who say I pray for you when they know that's not so. So many people have been hurt, and we can't let that go on. I will be discussing that a little bit later at the White House,' he said.

Romney was the lone Republican to find Trump guilty on one article of impeachment: abuse of power. He said in his remarks on the Senate floor Wednesday that it was his faith – Romney is a devout Mormon – that led him to that decision.

Pelosi, a devout Catholic, has repeatedly said she prays for the president. She was seated at the head table during Trump's remarks and shook her head at one point during them. She pursed her lips a few times as he spoke. The speaker launched the impeachment inquiry into the president in September.

The president admitted he was having trouble liking his political enemies now that his impeachment trial is over.

''We are grateful to the people of this room for the lovely show to religion, not one religion, but many religions. They are brave, they are brilliant, they are fighters, they like people and sometimes they hate people. I'm sorry. I apologize. I am trying to learn. Not easy. It's not easy. When they impeach you for nothing, and you're supposed to like them, it's not easy, folks. I do my best,' he said.

Donald Trump slammed Nancy Pelosi and Mitt Romney for using their faith to justify their actions in the impeachment trial and inquiry

Speaker Nancy Pelosi sat on the opposite of the head table from President Trump

Speaker Pelosi sat grimed during President Trump's remarks

President Trump addressed impeachment at the top of his remarks

Trump was acquitted on both articles of impeachment by the Senate on Wednesday, bringing to a close the fourth month, contentious process that led to a new level of bitter relations between the White House and congressional Democrats.

Harvard professor Arthur Brooks, in his key note address at the breakfast, urged those present not to hold political enemies in contempt, but to do as Jesus preached and 'love your enemies.'

'I don't know if I agree with you,' Trump said to Brooks when it was his turn to speak. And then he proceeded to launch his attacks on Pelosi and Romney.

The president addressed the impeachment inquiry at the top of his remarks and, earlier, had triumphantly held up newspaper headlines announcing his acquittal. The audience cheered his move.

'My family, our great country and your president has been put through a terrible ordeal by some very dishonest and corrupt people. They have done everything possible to destroy us and by so doing, very badly hurt our nation,' Trump said.

'They know what they are doing is wrong but they put themselves far ahead of our great country. Weeks ago and again yesterday, courageous Republican politicians and leaders had the wisdom, fortitude, and strength to do what everyone knows was right,' he added.

The president and the speaker were meeting for the first time since the impeachment verdict at the National Prayer Breakfast Thursday morning.

Trump walked to the head table to applause and held up the front pages of USA Today and The Washington Post with their oversized headlines proclaiming his acquittal by the Senate.

'Acquitted' read USA Today. 'Trump Acquitted' was the Washington Post's headline.

Pelosi stood and clapped as President Trump entered the room. She simply looked on as he displayed the newspapers declaring him acquitted.

President Trump waved around a USA Today headline proclaiming his acquittal on impeachment

He also waved the Washington Post front page

Speaker Pelosi spoke before President Trump at the breakfast

Speaker Pelosi led a prayer for the poor

Both the president and the speaker were seated at the head table but on opposite sides of the podium.

They did not interact.

Trump shook hands with his side of the head table when he entered the 68th Annual National Prayer Breakfast and did not walk over to the other side of the podium, where the vice president and the speaker were seated.

Pelosi spoke first, leading a prayer for the poor. The president head bowed during her prayer. He did not applaud when she was done.

Vice President Mike Pence, when he arrived ahead of the president, shook hands with the speaker and sat a few chairs down from her.

Several members of Congress and members of the president's Cabinet attended the annual breakfast.

'The lord works in mysterious ways. I do not think he could have picked a better day to bring us all together,' House Republican Leader Kevin McCarthy said in his prayer.

The president thanked McCarthy and the breakfast hosts in his opening remarks.

Mitt Romney cited his faith as the reason for his guilty vote on Trump

Trump went after Romney in the wake of the Wednesday's impeachment vote. He tweeted a video accusing the Utah senator of being a 'Democrat secret asset' and criticized him for his failed 2008 presidential campaign.

'Had failed presidential candidate @MittRomney devoted the same energy and anger to defeating a faltering Barack Obama as he sanctimoniously does to me, he could have won the election,' the president tweeted.

Romney cited his faith as one of the reasons for his guilty vote. He voted to acquit the president on the second charge: obstruction of Congress.

'The allegations made in the articles of impeachment are very serious. As a senator juror, I swore an oath before god to exercise impartial justice. I am profoundly religious. My faith is at the heart of who I am. I take an oath before god as enormously consequential. I knew from the outset that being tasked with judging the president, the leader of my own party would be the most difficult decision I have ever faced,' Romney said.

And the Republican senator from Utah acknowledged he expected to feel the president's wrath for his decision.

‘I'm aware that there are people in my party and in my state who will strenuously disapprove of my decision, and in some quarters I will be vehemently denounced. I'm sure to hear abuse from the president and his supporters. Does anyone seriously believe that I would consent to these consequences other than from an inescapable conviction that my oath before god demanded it of me?,’ he said.

It was also the first time Trump and Pelosi met since Tuesday's State of the Union address when Trump refused to shake her hand at its beginning and she ripped up the text of his remarks at its conclusion.

After the president finished giving his annual address Tuesday night, Pelosi stood up and ripped the pages in half, dropping them on her desk.

She defended her actions Tuesday night after the speech: 'It was the courteous thing to do considering the alternatives. It was such a dirty speech.'

The extraordinary clash between the two started when with Trump snubbed Pelosi's outstretched hand after he came into the House chamber.

Trump handed Pelosi a copy of his speech when he reached the speaker's dais – the same place she presided over his impeachment vote two months ago – but simply turned away as the Speaker took her copy of his speech, then stood in front of a chamber which echoed with cries of 'four more years' from Republicans - and where Democrats sat stone-faced.

Pelosi was visibly taken aback after Trump turned away from her offer.

House Speaker Nancy Pelosi ripped apart her copy of President Trump's State of the Union address after he finished speaking on Tuesday night

Earlier, Trump delivered an astonishing snub to Nancy Pelosi as he started his State of the Union speech Tuesday, ignoring her as she offered him a handshake

After the Senate acquitted the president on Wednesday, Pelosi said after the vote that the president remains a 'threat' that the House will continue to combat through its lawsuits against the administration and with the public.

'Sadly, because of the Republican Senate's betrayal of the Constitution, the President remains an ongoing threat to American democracy, with his insistence that he is above the law and that he can corrupt the elections if he wants to. The House will continue to protect and defend the checks and balances in the Constitution that safeguard our Republic, both in the courts of law and in the court of public opinion,' she said in a statement.