The cyclization of 1,2,4-triazol-5-amine (I) with 3-acetyltetrahydrofuran-2-one (II) by heating at 155 C gives the triazolopyrimidinone (III) (1), which is treated with refluxing POCl3 to yield 7-chloro-6-(2-chloroethyl)5-methyl-1,2,4-triazolo[1,5-a]pyrimidine (IV). Finally this compound is cyclized with 1-phenylethylamine (V) by means of Na2CO3 in refluxing ethanol to afford the target pyrrolo-triazolo-pyrimidine derivative.