At the beginning of 2014, Syrian President Bashar Assad had agreed to send his ministers to take part in negotiations in Switzerland and his future as Syria's ruler was not looking very bright.
He was accused of killings tens of thousands of his own people in a civil war that was nearly three years old. The opposition was demanding Assad's ouster. U.S. Secretary of State John Kerry was in Switzerland and called loudly for a political transition in Syria. He was clear about who would not be involved.
"Bashar Assad will not be part of that transition government. There is no way – no way possible in the imagination – that the man who has led the brutal response to his own people could regain the legitimacy to govern," he said.
Fast forward to the present. Those talks were abandoned. Assad is still in the presidential palace in Damascus. And although the United States is bombing Syria, it's not targeting Assad's army but the so-called Islamic State, or ISIS.
"I think Assad is in a stronger position today in many respects, certainly on the battlefield, and he has the United States as a strategic ally," says Joshua Landis, a longtime Syria analyst and professor at the University of Oklahoma.
ISIS got so big and bad, Landis explains, that the U.S. had to target them – even if that meant helping Assad out.
In order to understand how this happened, it's necessary to go back to the spring, when Syria had a presidential election. The EU and the U.S. denounced it as a farce because only parts of the country could take part, but Assad's supporters hailed him as a legitimate winner.
In his inauguration speech, Assad said those who had called for freedom and democracy had been unmasked. Essentially, he said people had realized the Syrian uprising was led by terrorists. Western leaders scoffed.
But then he got a huge boost, right in the heat of summer.
ISIS surged over the Syrian border and through the Iraqi city of Mosul. Suddenly, they controlled a huge swath of territory stretching across Iraq and Syria.
An American-led air campaign began to push back the growing ISIS threat. President Obama insists this doesn't mean he is partnering with Assad. But with both sides bombing the same places, people on the ground often think that the two are on the same side.
Many moderate anti-Assad activists believe Assad purposely allowed the extremists to become strong. His army targeted more moderate rebels, not ISIS. They say his strategy is to force Western leaders to choose between Assad and ISIS, and they'll choose Assad in the belief he can bring some measure of stability.
But analyst Randa Slim of the Middle East Institute isn't sure that's a good plan.
"This whole approach is based on a faulty assumption, the assumption being that Assad can somehow stabilize the situation," she says, also pointing out that manpower is dwindling in Assad's army and paramilitaries.
Monzer Akbik, a leader of the Syrian political opposition, took part in those talks at the beginning of the year in Switzerland. Now, the opposition has lost ground.
"The political opposition is weaker for a very simple reason, because we are unable to provide more support for our people," he says.
Akbik has little faith that negotiations proposed by Russia for 2015 will make any difference. The U.S. and its allies say they plan to train a force of moderate rebels next year, to pressure Assad.
But most analysts think the president is likely to stay in power — it will just be over a country ever more fractured and bloody.