Reagents and conditions: a amine (0.2 mmol), acid bromide (0.21 mmol), and DMA (4 mL), in an undivided cell with carbon cloth (anode) and platinum (cathode) using 15 mA current. b 10 mA; c 0.42 mmol of propionyl bromide; d 0.3 mmol of benzoyl bromide; All yields refer to isolated yields. Another strength of this electrochemical cascade strategy is that it can applied to in situ generated acid halides as well (Scheme 6), which allows carboxylic acids to be used as starting points for this chemistry. This is major advantage as carboxylic acid derivatives are generally more stable and less expensive than their acid halide counterparts. Furthermore, carboxylic acids are offered in a greater variety compared to acid halides by most chemical vendors, which enables this methodology to be applied to an even broader scope of chemical structures. As shown in Scheme 6, it is possible to carry out a one-pot synthetic sequence, where the acid halide is first generated from the corresponding carboxylic acid using 1.5 equiv. oxalyl halide with catalytic amounts of DMF in DCM, and then the electrochemical cascade is carried out directly following solvent change to DMA and addition of a suitable aromatic amine partner. Also, when in situ generated acid halides are being used, this electrochemical cascade shows great flexibility in terms of substrate scope and functional group tolerance, as demonstrated by the reactions providing the chlorinated products 3, 5, 58, 67, 101 and 138-142 in 46-97% yield and the brominated products 143-147 in 61-90% yield, calculated over both steps. Scheme 6. Generation of acid halide followed by electrochemical cascade acylation/C-H halogenation a