The U.S. invited Aguinaldo to return to the Philippines in the hope he would rally Filipinos against the Spanish colonial government. Aguinaldo arrived on May 19, 1898, via transport provided by Dewey. On June 12, 1898, Aguinaldo declared the independence of the Philippines in Kawit, Cavite. Aguinaldo proclaimed a Revolutionary Government of the Philippines on June 23. By the time U.S. land forces arrived, the Filipinos had taken control of the entire island of Luzon except for Spanish capitol in the walled city of Intramuros. In the Battle of Manila, on August 13, 1898, the United States captured the city from the Spanish. This battle marked an end of Filipino-American collaboration, as Filipino forces were prevented from entering the captured city of Manila, an action deeply resented by the Filipinos.