A federal judge has affirmed the 28-year prison sentence for former Luzerne County Judge Mark Ciavarella, convicted for his role in the "kids-for-cash" scandal.