Upper Peru
Yanzi spent three years in jail before being freed when Antonio José de Sucre invaded Upper Peru.