 Chanting crowds lit fireworks outside the presidential palace as rebel soldiers dispersed after a failed coup attempt against the nation's socialist government. President Luis Arce thanked supporters from the balcony of the same building into which an army unit had earlier driven a tank in an attack.