Royalism, Regionalism, and Rebellion in Colonial Perú, 1808-1824