After centuries of Spanish colonial rule, Cuba gained its independence in 1898, but remained in a subordinate relationship to the United States. The Platt Amendment, incorporated into the Cuban constitution, gave the US the right to intervene in Cuban affairs and maintain a naval base at Guantánamo Bay. Other Western powers, particularly Britain, France, and Germany, were wary of the increasing US dominance in Cuba and sought to establish their spheres of influence to counterbalance US power and protect their economic interests in the region. Britain, for example, had extensive investments in Cuban sugar, while Germany had a growing trade relationship. By establishing spheres of influence, they aimed to secure access to resources and markets, and prevent the US from fully controlling Cuba and disrupting the balance of power in the region.