In the beginning, There was Arceus. Arceus created the world and all living beings on it, then it created Dialga, to rule time, Palkia, to rule space, and finally Giratina to rule the reverse world.
Thousands of years in the past, Arceus came to Earth to retrieve the Jewel of Life that it had loaned to a man named Damos. Damos however betrayed Arceus and attacked it with a large army of Pokémon. After presumably killing Damos in its counterattack, Arceus went to sleep, vowing to judge all humans when it next returns based on Damos's actions.