Mujica, a former guerrilla fighter known for legalizing marijuana, gay marriage and abortion, handed power back to his Broad Front, FA, party colleague, in a country that bars presidents from serving consecutive terms.

Vázquez, a cancer doctor with a more buttoned-down style, won 53.6 percent of the vote in a November 30 presidential run-off, reclaiming the office he previously held from 2005 to 2010.

After taking the oath of office before the National Assembly, he called for dialogue on issues facing the country, at a moment when the parties that long dominated Uruguayan politics, the Blancos (Whites) and Colorados (Reds), are reeling from a string of FA victories.

“We can and we must analyze and dialogue respectfully together on the different paths to achieve the best public education for our people, to have quality health care for all, dignified housing,” he said.

Vázquez, 75, cuts a more sober figure than the outspoken Mujica, and has criticized some of his reforms — including the still-unimplemented plan to sell marijuana at pharmacies, a key element of the new cannabis law.

Known for his spartan lifestyle, his salty commentary and his devotion to his three-legged dog, Mujica steps down more popular than ever, with an approval rating over 60 percent.

But after five years at the helm of this South American nation, the 79-year-old farmer leaves something of a mixed legacy for Vázquez.

“There’s still so much to do and I hope that the next government will be better than mine and will have greater success,” Mujica said in an interview with a local newspaper Thursday.

“I became president filled with idealism, but then reality hit.”

The colorful rabble-rouser attracted international attention as much for his lifestyle as his policies.

Eschewing the trappings of power, Mujica insisted on living on his modest farm and driving around in an aging Volkswagen Beetle.

He was more likely to be seen in a beret with scruffy clothes, having just gotten down from his tractor, than wearing a suit. He also gave most of his salary to charity.

Mujica would sometimes unexpectedly speak with journalists about the rate of inflation or diplomatic relations. Or he’d tell them what he was preparing to feed his canine companion Manuela.

The dog lost one foot when Mujica accidentally rolled over it with his tractor. She now goes everywhere with him.

Under Mujica, Uruguay became the first country in the world to fully legalize marijuana all the way from the cannabis field to the joint, setting up a regulated market for cultivation, sales and use.

A sometimes overly-candid politician

The leader was also known for his candid — and sometimes less-than-diplomatic — remarks.