The Sampl;e Analysis at Mars (sam) instrument suite on the Mars Science Laboratory (MSL) Curiosity Rover detected both reduced and oxidized nitrogen bearing compounds during the pyrolysis of surface materials from the three sites at Gale Crater. Preliminary detections of nitrogen species include No, HCN, ClCN, and TFMA ((trifluoro-N-methyl-acetamide), Confirmation of indigenous Martian nitrogen-bearing compounds requires quantifying N contribution from the terrestrial derivatization reagents carried for SAM's wet chemistry experiment that contribute to the SAM background. Nitrogen species detected in the SAM solid sample analyses can also be produced during laboratory pyrolysis experiments where these reagents are heated in the presence of perchlorate a compound that has also been identified by SAM in Mars solid samples.