 Castelli understood that the British force only aspired to annex the city to the British Empire, and resigned to avoid swearing allegiance to Britain.Santiago de Liniers liberated Buenos Aires a short time later, but Saturnino Rodríguez Peña helped Beresford escape, hoping to influence an eventual second invasion to implement reforms supported by Burke and Miranda.The second British invasion, however, ended the patriot's hopes of British support, and they fought against their former allies.