Answer
The restoration of absolutism in Spain by Ferdinand VII occurred in 1813, following the defeat of Joseph Bonaparte during the Peninsular War. Ferdinand's return marked the end of the brief liberal period known as the Cortes of Cádiz and led to the persecution of Liberals.