[CH3:1][C:2]1[C:10]2[NH:9][CH:8]=[N:7][C:6]=2[C:5]([CH3:11])=[CH:4][C:3]=1[N+:12]([O-])=O.C([O-])=O.[NH4+]>CO.[Pd]>[NH2:12][C:3]1[CH:4]=[C:5]([CH3:11])[C:6]2[N:7]=[CH:8][NH:9][C:10]=2[C:2]=1[CH3:1]To a solution of 1.17 g of 4,7-dimethyl-5-nitrobenzimidazole in 150 mL of methanol are added 160 mg of palladium-on-carbon (10%) and 1.31 g of ammonium formate. The mixture is stirred at room temperature overnight, then filtered on Celite, with a methanol wash of the solids. The filtrate is rotary evaporated and the residue partitioned between water and ethyl acetate. The organic layer is washed with saturated ammonium chloride, dried over magnesium sulfate, filtered and rotary evaporated to afford 5-amino-4,7-dimethylbenzimidazole as a foamy reddish solid.