Brazil invaded and annexed the Banda Oriental in 1816.
San Martin's plans were disrupted after his ship docked in Río de Janeiro (where he used the pseudonym "José Matorras") and learned that the unitarian Juan Lavalle had deposed Dorrego.