[S:1]1[C:6]2[CH:7]=[CH:8][CH:9]=[CH:10][C:5]=2[NH:4][CH2:3][CH2:2]1.[N:11]([O-])=[O:12].[Na+]>Cl.O>[N:11]([N:4]1[CH2:3][CH2:2][S:1][C:6]2[CH:7]=[CH:8][CH:9]=[CH:10][C:5]1=2)=[O:12]3,4-Dihydro-2H-benzo[1,4]thiazine (1.2 g, 7.94 mmol) was dissolved in 3N HCl at 0° C., and the reaction mixture stirred for 5 min. at 0° C. A solution of sodium nitrite (548 mg, 7.94 mmol) in water was added at the same temperature, and the reaction mixture stirred at 0° C. for 1 h. After completion of reaction water was added and extracted with DCM. The combined organic layers were dried over sodium sulfate and concentrated under reduced pressure, to provide 1 g desired product.