(2): Diazotized 3(5)amino-5(3)-phenylpyrazole reacts with phenacylthiocyanate (1) and phenacylselenocyanate (10) to give the corresponding 1,3,4-thiadiazoline derivative (5) and 1,3,4- selenadiazoline derivative (12), respectively. A mechanism is proposed and it is substantiated by an alternate synthesis of 5 and 12 from the corresponding hydrazidoyl bromide (6) with potassium thiocyanate and potassium selenocyanate, respectively. The thiadiazoline (5) and selenadiazoline (12) give the respective N-acyl derivatives (7a) and (12) with acetic anhydride. Nitrosation of 5 and 12 gives the corresponding N-nitroso-derivatives (8a) and (14), respectively. Cyclization of 6 gives the corresponding 9 with triethylamine in benzene.