WASHINGTON — Republican presidential candidate Donald Trump is suggesting the U.S. accept Russia’s annexation of Crimea if it would lead to better relations with Moscow and stronger cooperation in fighting Islamic State militants.

That view runs counter to the Obama administration, which imposed economic sanctions against Russia for annexing the territory in Ukraine two years ago. The United Nations also doesn’t want countries to recognize Crimea as part of Russia, and some top Republicans staunchly defend Crimea against what they consider Russian aggression.

In an interview broadcast Sunday on ABC’s “This Week,” Trump suggested that the people of Crimea would rather be part of Russia. However, the U.S. hasn’t recognized the legitimacy of Russian referendums in Crimea and believes they were not conducted fairly.

Trump also said he wasn’t involved in the effort that softened support in the Republican Party platform on assisting Ukraine. Although the platform is not pro-Russia, Trump supporters succeeded in preventing a reference to arming Ukraine from being added.

In the past, Trump’s campaign manager, political strategist Paul Manafort, lobbied on behalf of Viktor Yanukovych, a Ukrainian president and supporter of Russian President Vladimir Putin. Manafort has said neither he nor anyone else with the Trump campaign pushed for the platform changes.

Local Politics Alerts

Breaking news about local government in D.C., Md., Va.

In response to other questions about U.S.-Russia relations, Trump dismissed suggestions that he has any kind of relationship with Putin, saying he has neither met Putin nor spoken on the phone with him. Asked why he had said several times in the past that he had a relationship with Putin, Trump said he doesn’t know what “having a relationship” means.

“He has said nice things about me over the years,” Trump said of Putin. “I remember years ago, he said something, many years ago, he said something very nice about me. I said something good about him when (broadcaster) Larry King was on. This was a long time ago.”

Trump said it would be a “great thing” if the United States got along with Russia and if Russia would help fight the Islamic State group.

“We’ll have a better relationship with Russia,” he said. “And having a good relationship with Russia is a good thing, not a bad thing.”

Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.