Immediately after the war, there were several serious barriers for foreign businesses attempting to operate in Cuba. Three separate pieces of legislation—the Joint Resolution of 1898, the Teller Amendment, and the Foraker Amendment—threatened foreign investment. The Joint Resolution of 1898 stated that the Cuban people are by right free and independent, while the Teller Amendment further declared that the United States could not annex Cuba. These two pieces of legislation were crucial in appeasing anti-imperialists as the United States intervened in the war in Cuba. Similarly, the Foraker Amendment, which prohibited the U.S. military government from granting concessions to American companies, was passed to appease anti-imperialists during the occupational period. Although these three statutes enabled the United States to gain a foothold in Cuba, they presented obstacles for American businesses to acquire land and permits. Eventually, Cornelius Van Horne of the Cuba Company, an early railroad company in Cuba, found a loophole in "revocable permits" justified by preexisting Spanish legislation that effectively allowed railroads to be built in Cuba. General Leonard Wood, the governor of Cuba and a noted annexationist, used this loophole to grant hundreds of franchises, permits, and other concessions to American businesses.