[NH2:1][C:2]1[C:7]([NH2:8])=[C:6]([CH3:9])[CH:5]=[CH:4][C:3]=1[CH3:10].[CH:11](O)=O.Cl.[OH-].[NH4+]>O>[CH3:9][C:6]1[C:7]2[NH:8][CH:11]=[N:1][C:2]=2[C:3]([CH3:10])=[CH:4][CH:5]=1A mixture of 5.1 g of 2,3-diamino-p-xylene, 200 mL of 88% formic acid and 20 mL of 12N hydrochloric acid is heated to reflux for 3 hours. The resulting mixture is cooled to room temperature and rotary evaporated. The residue is diluted with 100 mL of water, then basified with ammonium hydroxide (28-30%). The suspension is extracted with ethyl acetate (3×100 mL). The combined extracts are dried over magnesium sulfate and rotary evaporated to afford 4,7-dimethylbenzimidazole as a yellow solid.