1.
The major product formed in the reaction:

Cyclopentylmethylamine is treated with NaNO2NaNO_2 and HClHCl.