porphyria
disorders of certain enzymes in the heme biosynthetic/porphyrin pathway

If/when misunderstood may have culminated in mental illness. http://en.wikipedia.org/wiki/George_III_of_the_United_Kingdom