Peruvian Army
In 1829, the city was invaded by the Peruvian Army, which occupied it for seven months.