Complex sentence: Piérola ordered what was left of the Army to protect the capital, Lima together with poorly armed citizens which were called to the fight.
Split into simpler sentences: Piérola ordered what was left of the Army to protect the capital, Lima. In this way, the renmants of the Peruvian Army and poorly armed citizens were called to the fight.