O.[NH2:2][NH2:3].[CH3:4][N:5]1[C:11](=[O:12])[C:10]2[S:13][CH:14]=[CH:15][C:9]=2[N:8]2[CH:16]=[N:17][C:18]([C:19]([O:21]CC)=O)=[C:7]2[CH2:6]1>C(O)C>[CH3:4][N:5]1[C:11](=[O:12])[C:10]2[S:13][CH:14]=[CH:15][C:9]=2[N:8]2[CH:16]=[N:17][C:18]([C:19]([NH:2][NH2:3])=[O:21])=[C:7]2[CH2:6]113 ml of hydrazine hydrate were added to a suspension of 7.0 g (24 mmol) of ethyl 5-methyl-6-oxo-5,6-dihydro-4H-imidazo[1,5-a]thieno[2,3-f][1,4]diazepine-3-carboxylate in 70 ml of ethanol and the mixture was heated at reflux for 3 hours. After cooling to 0° the crystals obtained were filtered off and there were obtained 6.5 g (97%) of 5-methyl-6-oxo-5,6-dihydro-4H-imidazo[1,5-a]thieno[2,3-f][1,4]diazepine-3-carboxylic acid hydrazide as colourless needles of m.p. >260°.