Former state lawmaker sentenced for federal corruption