WASHINGTON • For four years, American policy towards Syria has been built on a wish and a prayer: a wish that President Bashar al-Assad would leave and a prayer that the "moderate" Syrian opposition would be more than it is. Now Russia has stepped up its game, and the response from the American government and many commentators seems to be to wish harder and pray more, while condemning Russia for intruding where it supposedly doesn't belong.
As much as many Americans and Europeans may abhor what Russian President Vladimir Putin did in Crimea and Ukraine, Moscow's intervention in Syria may offer the first glimmer
of hope for ending the quagmire there. Mr Putin is right that only stable governance and security will allow Syrian refugees to return home.
Rather than pursue decisive victory, America must seek to end this war with a less dramatic, less satisfying settlement.
The United States should have two goals in Syria. First, bring order to those parts of the country that the Islamic State in Iraq and Syria (ISIS) does not control. Second, strive to build a coalition of forces that can contain ISIS and eventually replace it. Russia's "intrusion" could offer a chance to achieve both.
This means setting aside American prejudices and heated political rhetoric. Russia isn't an intruder in Syria; it has been involved there for decades, just as America has been involved throughout the Middle East for more than 60 years. Mr Assad is Russia's protege, and Syria is an operations base for the Russian military. The US has its own, significantly larger set of friends and operating facilities in the region.
At present, both powers have an interest in regional stability. Violent Islamist movements pose more of a threat to Russia than to America; many Russians have already died at the hands of terrorists, and thousands of Russia-based Islamists have flocked to ISIS with the intent to return home eventually.
Russia also has valuable leverage in Syria that America lacks: a military presence on the ground, a link with a weak but operating regime in Damascus, working ties with the Iranian and Iraqi governments, and an intelligence-sharing agreement with both that could well include Iranian allies such as Hizbollah.
The US still has hundreds of aircraft and thousands of troops in the area, as well as strong ties to the Kurds. But it has few links with Iran, a troubled relationship with the weak Iraqi government, very poor intelligence in Syria and a military training programme for the moderate Syrian opposition that - recognised as a complete failure - has now been abandoned.
With proper safeguards and caution, a broader regional coalition could be a powerful tool against ISIS. American officials should acknowledge these realities and use the assets still available to them to advance their humanitarian and anti-extremist goals.
Russia must face reality as well. Mr Putin will have to accept that Mr Assad can't remain in office in perpetuity and that his regime must change. The alternative is chaos, an opportunity for ISIS to embed itself and expand its operations, and an end to any role in Syria for Mr Assad's minority Alawite sect (an offshoot of Shi'ite Islam). A rump coastal state with Mr Assad in charge, which may be Russia's fallback option, wouldn't remove the larger threat ISIS poses to Russia's security.
There is a risk that Russia might overreach, as the US did in Iraq and as both countries did in Afghanistan, if Mr Putin imagines that outside military force alone can defeat ISIS. American hawks like Senators John McCain and Lindsey Graham make this same mistake. They've forgotten that opposing outside military interference is a critical ingredient of extremists' recruitment efforts.
America and Russia must accept that as outsiders, they will never be able to confront, contain and eliminate ISIS alone. Only a regional coalition could do so.
Working together, Washington and Moscow could take advantage of their respective ties with the regional powers that actually have the manpower and operating space to act: Turkey, Saudi Arabia, Iran, Iraq, the Gulf states and the Kurds. While any coalition would have internal tensions - most notably between Turkey and the Kurds - combined Russian and American pressure could help convince all parties to focus on ISIS today and leave other concerns for later.
To be sure, Russia's main aim at the moment is bolstering Mr Assad by attacking various anti-regime forces and leaving others to deal with ISIS. But groups like the Nusra Front - Al-Qaeda's affiliate in Syria - are not America's friends either, and there is potential for an effective division of labour.
Coordinating our actions could ensure that Russia does not focus on the groups America supports and could prevent the dangerous accidents that tend to arise in the fog of war.
A joint Russian-American effort may fail to solve the Syrian problem. It's not a perfect remedy, but the partial overlap in American and Russian interests is the most promising route towards a solution.
American officials must end their table-thumping about Russian intrusion, recognise that we are past the Cold War, and get down to the business of statecraft.
NEW YORK TIMES
•The first writer is a professor of international relations at American University's School of International Service. The second is a professor of international affairs at the Harvard Kennedy School.