Answer
A sentence of several months was served by Galois due to his political activism. He was a staunch supporter of the Republican movement and an outspoken critic of the French monarchy. His involvement in political demonstrations and his circulation of republican pamphlets led to his arrest and subsequent imprisonment on multiple occasions.