 Castelli tried to turn the situation into a formal agreement, which would imply recognition of the Junta as a legitimate interlocutor.Goyeneche agreed to sign an armistice for 40 days to allow time for Lima to ratify the agreement, but he actually used the time to reinforce his army.On 19 June, with the truce still in effect, an advanced royalist troop attacked positions at Juraicoragua.