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. He was also sentenced to four months of supervised release and 150 hours of community service.

Loza accepted $1,500 in cash gifts from an FBI informant, who also asked him to pass an envelope stuffed with $2,600 to Graham. Graham handed it back to him, but did not report the incident to authorities.

The attempted payment was part of a long-running, wide-ranging inquiry into the D.C. government’s ties to the taxi industry.