Late president Hugo Chavez was laid to rest at the headquarters of his failed 1992 coup attempt, a month before snap elections to pick his successor. Hundreds of thousands of Venezuelans thronged the streets of Caracas on Friday to bid a final farewell to the man who ruled the oil-rich South American country for 14 years. “I pledge allegiance in this life and what we are bringing to this command post is a Christian leader and the commander in chief of the Venezuelan armed forces,” Chavez’s handpicked heir acting President Nicolas Maduro exclaimed. Friends and family joined high-ranking government and army officials in surrounding the coffin draped with a Venezuelan flag as Chavez was entombed. Official television coverage, streaming the processions throughout the day, cut the footage just as Chavez was set to be laid to rest. The army barracks-turned-museum will open to the public from Saturday and the government expects the mausoleum to become a “place of pilgrimage for the world’s revolutionaries.” Earlier, a black hearse loaded with the casket made its entrance through the gates of the barracks, and several senior military commanders carried the coffin down a red carpet. Chavez succumbed to cancer on March 5 at age 58, plunging a deeply polarised Venezuela into mourning amid growing uncertainty over its future. The funeral procession had started two hours earlier, after a mass and a solemn ceremony in the courtyard of the military academy, which for nine days and nights saw throngs of Venezuelans come pay their last respects. The “comandante’ was laid out in an olive green uniform and wore his trademark red beret. His daughter Maria Gabriela, donning dark glasses, broke through the applause to thank her father for “giving us the homeland back” and promised to defend his legacy, as Chavez’s mother wept incessantly. After a mass, the casket was loaded into a black hearse for the 12km procession by foot, motorcycle, car, jeep and on horseback to the barracks. Huge crowds of hundreds of thousands of supporters, many sporting red shirts bearing Chavez’s likeness, watched as the hearse, flanked by riders in ceremonial red military uniforms on horseback, made its way slowly down the Paseo de los Proceres, a boulevard honoring the country’s founders.