They boycott itself was deemed illegal, too.
http://en.wikipedia.org/wiki/Montgomery_Bus_Boycott
> Under a 1921 ordinance, 156 protesters were arrested for "hindering" a bus, including King. He was ordered to pay a $500 fine or serve 386 days in jail.