The Protectorate of Peru (Spanish: Protectorado del Perú), also known as the Protectorate of San Martín (Spanish: Protectorado de San Martín) was a protectorate created in 1821 in present-day Peru after its declaration of independence from the Spanish Empire. The protectorate existed for one year and 17 days under the rule of José de San Martín and Argentina.