When Carrera came to power in 1840, stopped the complaints over Belize, and established a Guatemalan consulate in the region to oversee the Guatemalan interests in that important commercial location. Belize commerce was booming in the region until 1855, when the Colombians built a transoceanic railway, which allowed commerce to flow more efficiently to the port at the Pacific; from then on, Belize commercial importance began a steep decline. When the Caste War of Yucatán began in the Yucatan peninsula-native people raising that results in thousands of murdered European settlers- the Belize and Guatemala representatives were in high alert; Yucatan refugees fled into both Guatemala and Belize and even Belize superintendent came to fear that Carrera -given his strong alliance with Guatemalan natives- could be support the native risings in Central America. In the 1850s, the British showed their good will to settle the territorial differences with the Central American countries: they withdrew from the Mosquito Coast in Nicaragua and began talks that would end up in the restoration of the territory to Nicaragua in 1894: returned the Bay Islands to Honduras and even negotiated with the American filibuster William Walker in an effort to avoid the invasion of Honduras. They also signed a treaty about with Guatemala about Belize borders, which has been called by Guatemalans as the worst mistake made by the unelected regime of Rafael Carrera-.