$Ba{\left( {{N_3}} \right)_2}\xrightarrow{\Delta }Ba + {N_2} \uparrow $
${N_2} + 3{H_2} \longrightarrow NH_3$