Semisynthesis of novel N-acyl/sulfonyl derivatives of 5(3,5)-(di)halogenocytisines/cytisine and their pesticidal activities against Mythimna separata Walker, Tetranychus cinnabarinus Boisduval, and Sitobion avenae Fabricius.