Complex sentence: After fighting in the Peninsular War and in the Peruvian War of Independence Valentín engaged in the chaotic politics of the post-war reign of Isabella II of Spain, serving as Prime Minister of Spain in 1840 and holding other important offices such as Mayor of Madrid.
Split into simpler sentences: After fighting in the Peninsular War and in the Peruvian War of Independence. Later Valentín engaged in the chaotic politics of the post-war reign of Isabella II of Spain, serving as Prime Minister of Spain in 1840 and holding other important offices such as Mayor of Madrid.