Ted G. Loza, former chief of staff to D.C. Council member Jim Graham (D-Ward 1), was sentenced to eight months in prison Tuesday. Loza admitted February in federal court that he accepted cash for helping push legislation, ending the highest-profile prosecution to emerge from a lengthy federal corruption investigation into how the city government oversees the taxi industry. He pleaded guilty in District Court in Washington to charges of accepting an illegal gratuity.