With the optimized condition in hand, we investigated the scope of this transformation using biologically and pharmaceutically relevant aliphatic N-heterocycles (Scheme 1). γ-Substituted aliphatic nitrogen heterocycles (1b-25b) convert well and give products, which were mostly unreported in the literature; only compounds 1b and 23b were previously prepared by electrosynthesis. Starting materials bearing a quaternary carbon center at the γ position show an over oxidized 1,4-diene product along with the alkene as the major product (10b, 69%).