[NH2:1][C:2]1[N:6]([CH2:7][CH3:8])[N:5]=[CH:4][CH:3]=1.C(O[C:12](=[C:14]([C:20]([O:22][CH2:23][CH3:24])=[O:21])[C:15](OCC)=O)[CH3:13])C.P(Cl)(Cl)([Cl:27])=O>>[Cl:27][C:15]1[C:14]([C:20]([O:22][CH2:23][CH3:24])=[O:21])=[C:12]([CH3:13])[N:1]=[C:2]2[N:6]([CH2:7][CH3:8])[N:5]=[CH:4][C:3]=12A mixture of 5-amino-1-ethylpyrazole (1.614 g, 14.5 mmol) and diethyl 2-(1-ethoxyethylidene)malonate [e.g. see J. Am. Chem. Soc., 1931, 53, 1836] (3.68 g) is heated at 150° C. under Dean Stark conditions for 5 hours. Phosphorous oxychloride (25 ml) is carefully added to the mixture and the resulting solution is heated at 130° C. under reflux for 18 hours. The mixture is concentrated in vacuo and the residual oil is carefully added, with cooling, to water (100 ml). The resulting mixture is extracted with dichloromethane (3×100 ml) and the combined organic extracts are dried over anhydrous sodium sulphate and concentrated in vacuo. The residual oil is purified by Biotage chromatography (silica; 90 g) eluting with 5% ethyl acetate in petroleum ether. Fractions containing the desired product are combined and concentrated in vacuo to give ethyl 4-chloro-1-ethyl-6-methyl-1H-pyrazolo[3,4-b]pyridine-5-carboxylate.