qnli question: Where did the US defeat occupying Spanish forces prior to the Philippine American War? sentence: Defeated in the field and losing its capital in March 1899, the poorly armed and poorly led rebels broke into armed bands.