Former Cuban leader Fidel Castro died Friday night at the age of 90.

Castro was a monumental and controversial figure in 20th century politics. He seized power from Cuban dictator Fulgencia Batista in 1959 and ruled over Cuba — first as prime minister, and then as president for decades.

Here’s how leaders from around the world are reacting to Castro’s death.

Donald Trump, president-elect of the US

“Today, the world marks the passing of a brutal dictator who oppressed his own people for nearly six decades. Fidel Castro’s legacy is one of firing squads, theft, unimaginable suffering, poverty and the denial of fundamental human rights.”

Barack Obama, president of the US

At this time of Fidel Castro’s passing, we extend a hand of friendship to the Cuban people. We know that this moment fills Cubans — in Cuba and in the United States — with powerful emotions, recalling the countless ways in which Fidel Castro altered the course of individual lives, families, and of the Cuban nation. History will record and judge the enormous impact of this singular figure on the people and world around him.

John Kerry, US secretary of state

“We extend our condolences to the Cuban people today as they mourn the passing of Fidel Castro. Over more than half a century, he played an outsized role in their lives, and he influenced the direction of regional, even global affairs.”

Justin Trudeau, prime minister of Canada

“Fidel Castro was a larger than life leader who served his people for almost half a century. A legendary revolutionary and orator, Mr. Castro made significant improvements to the education and healthcare of his island nation.”

Jimmy Carter, former US president

“Rosalynn and I share our sympathies with the Castro family and the Cuban people on the death of Fidel Castro.”

Michael D. Higgins, president of Ireland

“Fidel Castro will be remembered as a giant among global leaders whose view was not only one of freedom for his people but for all of the oppressed and excluded peoples on the planet.”

Xi Jinping, president of China

“With his death, the Chinese people have lost a close comrade and a sincere friend. His glorious image and great achievements will be recorded in history forever.”

Jeremy Corbyn, leader of the UK’s Labour Party

“Fidel Castro’s death marks the passing of a huge figure of modern history, national independence and 20th century socialism.”