But Spanish civil guards discovered the meeting and the first battle occurred with the Battle of Pasong Tamo. While the "Katipunan" initially had the upper hand, the Spanish civil guards turned the fight around. Bonifacio and his men retreated toward Marikina via Balara (now in Quezon City). They then proceeded to San Mateo (in the province now called Rizal) and took the town. The Spanish, however, regained it three days later. After regrouping, the "Katipuneros" decided not to attack Manila directly but agreed to take the Spanish powder magazine and garrison at San Juan.