After the Legislative Assembly was dissolved, Carnot was elected to the National Convention in 1792. He spent the last few months of 1792 on a mission to Bayonne, organizing the military defense effort in an attempt to ward off any possible attacks from Enlightenment-era Spain. Upon returning to Paris, Carnot voted for the death of King Louis XVI, although he had been absent for the debates surrounding the Trial of Louis XVI.