A new pro-Brazil government was installed in Asunción in 1869, while Paraguay remained occupied by Brazilian forces until 1876, when Argentina formally recognized the independence of that country, guaranteeing its sovereignty and leaving it a buffer state between its larger neighbors.