Condensation of dihydropyrazole (I) with the sulfonyl carbamate (II) in the presence of pyridine gives rise to the 1-acyl dihydropyrazole (III). Subsequent chlorination of (III) using PCl5 in refluxing chlorobenzene affords the imidoyl chloride (IV). This is finally condensed with methylamine in CH2Cl2 to furnish the title compound.