The politically connected former CEO of a prominent New York City charity was sentenced to prison Wednesday for helping to steal more than $9 million from the anti-poverty organization.

William Rapfogel, who once headed the Metropolitan Council on Jewish Poverty, will serve a term of 40 months to 10 years in a case that rattled New York’s political circles. Authorities linked the decades-long theft to campaign contributions, and both the charity and Rapfogel himself have deep political ties. His wife, who is not accused of any involvement in his scheme, is Assembly Speaker Sheldon Silver’s chief of staff.