[NH2:1][C:2]1[N:7]=[C:6]([NH2:8])[C:5]([N:9]=O)=[C:4]([OH:11])[N:3]=1.NC1N=C(N)C(N)=[C:15]([OH:21])N=1>C(O)=O>[NH2:1][C:2]1[N:7]=[C:6]([NH2:8])[C:5]([NH:9][CH:15]=[O:21])=[C:4]([OH:11])[N:3]=1The invention relates to an improved process for the catalytic hydrogenation of 2,4-diamino-6-hydroxy-5-nitrosopyrimidine (DAHNP) and the reaction of the resulting 2,4,5-triamino-6-hydroxy-pyrimidine (TAHP) with formic acid to yield 2,4-diamino-5-formylamino-6-hydroxy-pyrimidine (DAFHP).