S(Cl)([Cl:3])=O.[Cl:5][C:6]1[CH:16]=[CH:15][C:9]([CH:10]=[CH:11][C:12](O)=[O:13])=[CH:8][CH:7]=1>ClCCl>[Cl:5][C:6]1[CH:16]=[CH:15][C:9]([CH:10]=[CH:11][C:12]([Cl:3])=[O:13])=[CH:8][CH:7]=17 ml of thionyl chloride are added dropwise to a suspension of 1.75 g of 4-chlorocinnamic acid in 40 ml of anhydrous dichloromethane, with stirring at 43° C. After reacting for 3 hours, the excess acid that has not reacted remains undissolved and is removed by decanting. The filtrate is evaporated to dryness, yielding 4-chlorocinnamic acid chloride.