After the February Revolution of 1848, Casy ran for election on 23 April 1848 to represent Var, where he was maritime prefect, in the Constituent Assembly. He appeared to be a republican, and on 11 May 1848 the Executive Commission made him Minister of the Navy.