The former gang leader said in court that he would appeal the ruling.