Two methods are described for the replacement of primary amino groups, situated either a or y to a heterocyclic nitrogen atom, by ethoxy, alkylthio, and arylthio substituents, by Wittig reagents, and by hydrogen. Both methods involve transformation of the primary amino group into a nucleofugic pendant heterocycle. The first converts the primary amino group into a 5- phenyl-1-tetrazolyl substituent by benzoylation, formation of the imidoyl chloride, and ...