Spaniards work on the Panama Canal:

Some 6,000 Spaniards –mostly from Galicia– went to work on the Panama Canal before the Spanish government prohibited emigration to the isthmus because of the perilous conditions (1907). But even after that prohibition, it is estimated that an additional 2,000 Spaniards found their way to the Canal Zone. Some of these Spanish workers had helped build the Cuban railroads before going to Panama; and after the completion of their work on the Canal, many would re-emigrate to other parts of the Americas, notably Brazil; a small number would find their way to the US.