By 1898, Spain ceded the Philippines and other overseas possessions to the United States after the former's defeat in the Spanish–American War. In 1901, the Americans declared the whole area south of the Pasig River, including the town of San Pedro de Macati, down to Alabang in Muntinlupa, a US military reservation, thus establishing Fort McKinley (now Fort Bonifacio). That same year, the whole town, with a population of 25,000, was incorporated from the Province of Manila to the new province of Rizal, with Marcelino Magsaysay serving as the town president. As the 1910s approached, the Meralco tranvia lines to Fort McKinley and to the western end of the town were built, opening transport lines for its residents and thus brought along potential investors who opened several businesses including the famous Santa Ana Cabaret at the terminus of the streetcar lines.