N[C:2]1[C:7]([Br:8])=[CH:6][C:5]([CH3:9])=[CH:4][N:3]=1.N([O-])=O.[Na+].N.[ClH:15]>O>[Br:8][C:7]1[C:2]([Cl:15])=[N:3][CH:4]=[C:5]([CH3:9])[CH:6]=1The product from (a) (145 g) was dissolved in concentrated hydrochloric acid (750 ml) and water (450 ml) and the solution cooled to -10° C. Sodium nitrite (54 g) in cold water (450 ml) was added dropwise with stirring over a period of 90 minutes while the mixture was kept at -5° C. The solution was stirred for a further 2 hours, and then basified with concentrated ammonia, keeping the temperature below 20° C. The solid which separated was washed with water, dried, dissolved in ether (1500 ml) and washed with cold sodium hydroxide solution (1 M; 1 liter). The ether solution was washed twice with water (1 liter portions), dried, and evaporated to give the required 3-bromo-2-chloro-5-methylpyridine.