[Cl:1][C:2]1[N:7]=[C:6](N)[C:5]([C:9]2[CH:14]=[CH:13][CH:12]=[CH:11][C:10]=2[O:15]C)=[CH:4][CH:3]=1.S(=O)(=O)(O)O.C(ON=O)(C)(C)C>C(O)(=O)C>[Cl:1][C:2]1[N:7]=[C:6]2[O:15][C:10]3[CH:11]=[CH:12][CH:13]=[CH:14][C:9]=3[C:5]2=[CH:4][CH:3]=16-chloro-3-(2-methoxyphenyl)pyridin-2-amine (4.0 g, 17.04 mmol) was dissolved in glacial acetic acid (100 mL) and concentrated sulfuric acid (1 mL). A solution of t-butylnitrite (6.1 mL, 51.2 mmol) in 6 mL of acetic acid was added drop wise and stirred for 30 minutes. The reaction mixture was concentrated under reduced pressure, dissolved in methylene chloride. The reaction mixture neutralized by saturated aq. NaHCO3 solution and the organic phase was separated from the aqueous phase. The aqueous phase extracted with methylene chloride and the combined organic layers was dried over sodium sulfate, concentrated and the residue was purified by silica column using hexanes and ethyl acetate as eluent to give 1.85 g of title compound.