Furthermore, the developed cascade acylation/C-H halogenation is applicable for rapid latestage modification of pharmaceuticals and other bioactive compounds (Scheme 7). For example, this electrochemical cascade protocol was successfully used to prepare novel chlorinated derivatives of Aspirin (148, 48%) and L-Menthol (149, 79%). Additionally, it could be used for the precursor synthesis of several medicinally important compounds such as Leflunomide, Nordazepam, Arclofenin and Roflumilast (150-152) in 35-97% yield over 5-16 h, starting either from acid chloride (method A) or carboxylic acid reagents (Method B). Similarly, Vismodegib (153, an FDA-approved drug for treatment of basal cell carcinoma) was synthesized in 57% yield in one-pot, starting from 2-chloro-4-(methylsulfonyl)benzoic acid and using 3-(pyridin-2yl)aniline as the amine reaction partner. Moreover, a wide range of pharmaceutical compounds bearing a free carboxylic acid group including Ibuprofen, Ciprofibrate, Gemfibrozil, Fenofibric acid, Furosemide, Adapalene, Ketoprofen and Naproxen could be successfully implemented in this one-pot sequence to furnish the novel structures 154-161 in 45-94% yield over 3-7 h. Excellent result was also obtained for the pharmaceutical compound Sterix 47 that allowed product 162 to be prepared in 97% yield after a reaction time of only 3 h. Also, the pharmaceutical molecule aminoglutethimide showed excellent reactivity in this electrochemical cascade, as demonstrated by the reactions that provided chlorinated product 163 and 164 in 96% and 72% yield, respectively. A similar excellent reactivity was observed for 4-amino-2-methoxybenzoic acid and Sulfadiazine to afford the pharmaceutically important compounds 165 and 166 in 93% and 51% yield respectively. On the other hand, compound 167 could be obtained from the Regorafenib in 64% yield after using 15 mA current for 16 h. Furthermore, we were able to prepare the mono and dichlorinated analogue of Paracetamol 168 and 169 in 44% and 56% yield, starting from its corresponding acid chloride and using 2 mA current for 5 h and 23 h respectively. Similarly, by doubling the amount of the acid chloride reagent and using 10 mA current for 9 h, benzodioxepinamine provides 170 in 75% yield. To our delight, dichlorinated products could also be obtained when starting from more complex carboxylic acid derivatives such as Adapalene, Gemfibrozil, a Tolvaptan precursor and Probenecid, as demonstrated by the reactions giving compounds 171-174 in 39-78% yield.