#Fidel Castro, the former president of Cuba, has died at the age of 90. His brother, Cuban President Raul Castro announced the passing of the controversial leader on Cuban state television shortly before midnight on Friday, November 25.

News of Castro's death prompted a flurry of tweets and quickly became a trending topic on Twitter. Although no cause of death was given, The Guardian reports that Castro had a long-term illness and his death was long expected.

Many of the tweets indicate that there are many people who aren't terribly sad to hear that Fidel Castro has died and his death has become the butt of jokes about capitalism — all because his death was announced on Black Friday, a big sale day for retailers that kicks off the holiday shopping season.

Twitter reacts to the death of iconic leader of the Cuban communist revolution

"The capitalism was so strong today that it killed communist leader Fidel Castro," @base9warui tweeted shortly after Castro's death was announced online.

"Fidel Castro dying on Black Friday proves that God has a sense of humor and capitalism always wins," tweeted Caleb Ecarma.

"Fidel Castro dead on Black Friday? The ironic jokes write themselves," Stewart Moncure tweeted early Monday morning.

(@rsmon77)

Several tweets about Castro's passing also mention celebrations, including one in Little Havana in Miami, Florida where people gathered in the streets celebrate the former Cuban president's death.

Fidel Castro served as Cuba's president for 30 years from 1976 to 2008 and was known as the biggest enemy of the United States during his time in office and reportedly survived multiple assassination attempts by the CIA.

Prior to becoming president, he was the nation's Prime Minister from 1959 until 1976. He also served from 1961 to 2011 as the First Secretary of the Communist Part of Cuba.

Almost one year ago, United States President Barack Obama announced that he would lift a 52-year-old economic embargo and resume, after more than five decades, diplomatic relations with Cuba. Fidel lived to see that happen, but did not comment publicly on the historic moment.