Hugo Chavez and Mahmoud Ahmadinejad in Caracas in January Photo: AFP/Getty Images

TEHRAN, Iran — Iranian President Mahmoud Ahmadinejad has left for Caracas to attend the funeral of his Venezuelan ally Hugo Chavez.

Ahmadinejad is the head of an Iranian delegation that flew out of Tehran on Thursday.

The Iranian leader has praised Chavez, comparing him to a saint and saying he will return on resurrection day.

In his condolences on Wednesday, Ahmadinejad also said he has “no doubt Chavez will return to Earth together with Jesus and the perfect” Imam Mahdi, the most revered figure of Shiite Muslims, and that he’ll help the two “establish peace, justice and kindness” in the world.