Heads of state from across the world have been reacting to Fidel Castro’s death.

Former allies praised the impact and legacy of Cuba’s revolutionary leader and ex-president, who died aged 90 on FridayHis opponents, however, dubbed him a “tyrant.”

The Soviet Union’s final leader, Mikhail Gorbachev, was quoted by the Interfax news agency as saying that Castro had left a lasting mark on world history.

Russian President Vladimir Putin called Castro an “inspiring example for many countries” in a telegram he sent to the former leader’s brother and successor Raul Castro. 

Ecuadorean President Rafael Correa said that “a great has left us,” while Venezuelan President Nicolas Maduro called Castro “an example of the fight for all the people in the world.”

Bolivian President Evo Morales said Castro “left us a legacy of having fought for the integration of the world’s peoples.”

South African President Jacob Zuma thanked Castro for his help in overthrowing apartheid.

French President Francois Hollande welcomed the warming of relations between Cuba and the U.S., but also expressed his concerns over Castro’s regime’s human rights record.

India’s Prime Minister Narendra Modi offered his condolences via Twitter:

As did Mexican President Enrique Peña Nieto, who called Castro “a friend of Mexico” who promoted a relationship based on “respect, dialogue and solidarity.”

U.S. Congress representative Ileana Ros-Lehtinen, however, released a statement in which she called Castro “a tyrant.”

And the Cuban-American Republican from Miami expressed hope that “a new beginning can dawn on the last remaining communist bastion of the Western Hemisphere.”

This is a developing story. Check back for updates.

Reuters contributed to this story.