During the Wars of Castro, Imperiali was appointed governor of those provinces of the State of Castro under the control of the papacy and was appointed commissary-general of the papal army.
Pope Innocent appointed Imperiali governor of Rome between 1653 and 1654 .