Nor everybody who is in jail are chronic riots: there were rebels with cause who were confused with bad boys for their contemporaries. From Nelson Mandela to Rosa Parks.
Rosa Parks committed an unforgivable offense in her time: in December 1st, 1955, she refused to obey a bus driver, sitting down on the places that were reserved to white people. The result was getting her to sleep in a jail of a police station. However, there was a bigger consequence: her bold gesture was the origin of buses' boycott of Montgomery, starting point of the fight for the civil right of black people in USA, in the 1960s.
Nevertheless, Parks wasn't the only person to sleep behind the bars because of the civil rights. Martin Luther King was condemned to four months in prison 5 years later, on a pacific manifestation for the same cause. But he was set free by intervention of the future president John F. Kennedy.
In another continent, the same cause: fighting against Apartheid since the 1950s, Nelson Mandela had already been accused of betrayal in 1956. But in August 5th, 1962 he was taken by the authorities, after his resistance against the govern by destroying public properties were discovered. He was set free in 1990, after the death of the South-African president P. W. Botha, victim of a heart attack. He won the Nobel Peace Prize in 1993.
At last, Mahatma Ghandhi. The symbol of the fight for the Indians civil rights, by the independence from the Brittish Empire, didn't escape of police too. In 1922, when he was 47 years, Ghandhi was arrested by the Brittish ones, who accused him of conspiring and trying to overthrow the government. He declared himself guilty and he was sentenced to 6 years in prison, but he was set free two years because of health problems.