During 1641, Carafa questioned the domestic policies of Gaspar de Guzmán, Count-Duke of Olivares, especially in relation to the Catalan Revolt, and was imprisoned. He died in prison the following year. He was eventually exonerated by a posthumous trial.