Duke of Arcos
Masaniello led a mob of nearly a thousand which ransacked the armouries and opened the prisons, leaving him in charge of the city. Eventually, the viceroy, whose negotiations with Masaniello had been frequently interrupted by fresh tumults, ended by granting all the concessions demanded. On 13 July 1647, through the mediation of Cardinal Ascanio Filomarino, archbishop of Naples, a convention was signed between the Duke of Arcos and Masaniello as "leader of the most faithful people of Naples," by which the rebels were pardoned, the more oppressive taxes removed, and the citizens granted certain rights, including that of remaining in arms until the treaty should have been ratified by the King.