President Trump on Sunday released a statement stressing the importance of keeping the country safe and denying that his executive order amounts to a Muslim ban amid protests and backlash from lawmakers.

"America is a proud nation of immigrants and we will continue to show compassion to those feeling oppression, but we will do so while protecting our own citizens and border," Trump said in the statement.

"We will keep it free and keep it safe, as the media knows, but refuses to say."

Trump said his policy is similar to what former President Barack Obama Barack Hussein ObamaThe Hill's 12:30 Report - Presented by Facebook - Don't expect a government check anytime soon Trump appointees stymie recommendations to boost minority voting: report Obama's first presidential memoir, 'A Promised Land,' set for November release MORE did in 2011, when he "banned visas for refugees from Iraq for six months."

ADVERTISEMENT

Trump also pointed to the Obama administration for identifying the seven countries included in Trump's executive order.

"To be clear, this is not a Muslim ban, as the media is falsely reporting. This is not about religion — this is about terror and keeping our country safe," he said.

"There are over 40 different countries worldwide that are majority Muslim that are not affected by this order."

Trump said America will be issuing visas again to all countries once "we are sure we have reviewed and implemented the most secure policies over the next 90 days."

Trump on Friday signed an executive order calling for a 90-day ban on nationals from seven predominantly Muslim countries from entering the United States. The order also includes a 120-day halt on admitting refugees and an indefinite pause on admitting refugees from Syria.

"I have a tremendous feeling for the people involved in this horrific humanitarian crisis in Syria," he said.

"My first priority will always be to protect and serve our country, but as President I will find ways to help all those who are suffering."