Answer
Campanella was confined to his home for two years under house arrest. This period of restriction was imposed due to his involvement in the Calabrian Revolt, a rebellion against Spanish rule in southern Italy. During this time, Campanella was closely monitored and his movements were limited, hindering his ability to engage in political activities or openly express his philosophical and reformist ideas.