Loki was born son of Laufey, king of the Frost Giants of Jotunheim. Ashamed of Loki's small size, Laufey hid him away, but the child's existence came to light after the Frost Giants were defeated in a battle against the Asgardians. Odin, the ruler of Asgard, discovered Loki in the Frost Giants' fortress. Realizing that Loki was the son of Laufey, a king whom he had slain, Odin took the boy back to Asgard and raised him as his own son. Loki never fitted in among the inhabitants of Asgard. He nursed a virulent grudge against his stepbrother Thor, the God of Thunder, who possessed in abundance the heroic qualities prized by the Asgardians that Loki himself lacked. Jealous of the praise Odin showered on Thor, Loki took up the dark arts of sorcery and plotted for a way to become ruler of Asgard.