The Demosisto leaders have been sent to prison in a ruling that bars them from seeking political office for five years.