 In the late 19th century, a British company working under contract to the colonial Spanish administration, had completed the Manila–Dagupan Railroad and at the time of America's victory over the Spanish, this still represented the best means of transportation in Luzon.Following the incidents that led to the beginning of US–Philippine hostilities and Emilio Aguinaldo's withdrawal to the north from Manila, the American forces attempted to seize control of this valuable line of communication.The Philippine Army, numbering about 15,000, was just as determined to defend this vital link, and during 1899, fought a series of unsuccessful battles with US forces.