by order of rivadavia himself he was replaced by zavaleta