Answer: D
The primary amine formed is itself nucleophilic and reacts further with CX2HX5Br to give secondary, tertiary amines and finally the quaternary salt. A large excess of ammonia makes it far more likely that CX2HX5Br meets NHX3 rather than the product, so the primary amine predominates.