Nitrogen is taken from the air by legumes, not taken from the soil. 80% of the air we breath is Nitrogen. Legumes then store the Nitrogen in nodules in their roots. Unless the peanut farmer is planning on removing all the organic material from the field, there is going to be lots of N added. That's why so many farmers rotate a legume crop in their plantings. It helps lower fertilizer costs.