The benzyl halide or alkyl halide 1 reacts with hexamethylenetetramine to a quaternary ammonium salt 3, each time just alkylating one nitrogen atom. By refluxing in concentrated ethanolic hydrochloric acid solution this salt is converted to the primary amine together with formaldehyde (as the acetal with ethanol) and ammonium chloride.
