The reaction of 4-chlorobenzoylhydrazide (I) with S-methyl isothiourea sulfate in aqueous NaOH gave guanidine (II) which, on heating at 220 C, was converted into aminotriazole (III). Subsequent condensation with methyl isothiocyanate in DMF gave thiocarbonyl triazole (IV). Finally, cyclization with diethoxymethyl acetate at 90 C provided the target triazolotriazine.