5 days later he deposed Blanco, and on December 31, 1828 the Blanco's government was overthrown when the president was preparing to go to a mass in full dress. Ballivián arrested Vice President Loayza at the entrance of the National Palace. Blanco Soto tried to hide in a latrine but was also captured and with his arm in a sling he was transferred prisoner to the Recoleta convent where he would be killed by the guard that guarded him on January 1, 1829.