>I was simply basing it off of electron affinity... Since nitrogen has a higher affinity, it is more willing to accept an electron, and therefore is more acidic. It also follows the general periodic trend in which elements (within a period) are more acidic than their neighbors to the left.