Pitbull wrote the song on the night of July 31, 2006 after finding out that Cuban President Fidel Castro had transferred his duties to his brother Raúl Castro.