Who created the alignment system? Was it Gary Gygax & Dave Arneson (D&D)? Or David A. Hargrave (Arduin)? Or perhaps Michael Moorcock and Paul Anderson? Where did it come from? In what publication is it first written (in detail)?
According to the wiki the first edition D&D (1974) had three alignments: L, N, C. But soon after Anduin (1977) included all nine. However, AD&D (1977) also included all nine alignments. The wiki claims this was taken from Anduin but no evidence or citation is offered. Another wiki article writes that "Dungeons & Dragons creator Gary Gygax credited the inspiration for the alignment system to the fantasy stories of Michael Moorcock, and Poul Anderson." But again little detail is given.
Any further information on this would be appreciated. The bibliographic information of the earliest known D&D publication (or related) discussing this at length would be appreciated. And a citation of any publication of any kind whatsoever prior to D&D discussing the alignment system would be appreciated as much if not more so.