 Count Emmanuel Philibert of Savoy transformed the fortress into a prison, a role it would retain until 1792.In its time as a prison, more than 200 prisoners were housed at Miolins.The castle became known as the "Bastille tilt" ().