Hwanin in medieval Korean mythology is Indra, the ruler of heaven and earth in Buddhism. His illegitimate son is Hwanung and his grandson is Dangun, the mythical founder of Korea.