Cuba gained independence from the United States in the late 19th century after a fight for freedom. In the 20th century, Cuba had its first elected president but later fell under the control of dictators Fulgencio Batista and then Fidel Castro. Catholicism is the dominant religion in Cuba but African and indigenous beliefs are also practiced. Typical Cuban cuisine features rice, beans, and tropical fruits that reflect the cultural influences of Spain and West Africa.