Not many people know where Pokemon come from in terms of lore (yes, Pokemon has lore). Pokemon have a relativley simple background.

The Pokemon started as nothing, just an empty void. Then, an egg came from nothingness. From that egg, emerged Arceus. Arceus was the first Pokemon. He then went on to create Dialga, Palkia, and Giratina, giving them power over space, time, and antimatter. Giratina was sent to the Distortion World by Arceus, as a punishment for his destructive nature. Dialga and Palkia then go on to create the Universe and then retreat to their own dimensions.

Arceus then creates Uxie, Mespirit, and Azelf, giving knowledge, emotion, and willpower to all living things that come into existence. Kyogre is formed by the pressure from the deep trenches, Groudon is formed deep inside the earth, and Rayquaza is formed from the minerals in the ozone layer. Kyogre begins to fill the seas and Groudon forms the land. The two meet and begin to battle for control over the Pokemon world. This battle goes on until Rayquaza steps in and quells the battle, causing Kyogre and Groudon to retreat into special caverns.

Mew begin to populate the earth and then Regigigas appears and begins to shape the continents. Regigigas then creates 3 golems made of ice, rock, and steel; Regice, Regirock, and Registeel.

For more information about the history of Pokemon, click here.