The Chronicles of the Elements of Harmony
A long time ago, in Equestria. There was three brothers by the name of Jay, Kai and James. Those three were like friends, they trained and and played together. Jay was an Earth Pony, Kai was a Unicorn and James was a Pegasus. They laughed together and they did everything together. But one day Kay got older and he started learning about magic and he was forgetting his 2 younger brothers, and James started leaving their home for a long period of Time.
Jay was so lonely, he played games alone and he was really miserable. So he wanted to help Kai on his magic, Kai was the only pony in the house who hadn't left. So they both started helping each other. Timed passed and Kai invented a spell to turn Jay to a Unicorn. But each day he failed, Jay tried to help Kai to succeed on his accomplishment. But timed passed and Kai died but he finally did it, at the end he found a spell to change Earth Ponies to Unicorns. But Jay couldn't do it so went around the world looking for a Unicorn powerful enough to do the spell. But once he was close, he died at a Mountain Cliff and the Spell was forgotten forever.
Time passed and a little unicorn girl by the name of Jenny, she was excavating with some toys and found an ancient paper, written in the Paper there was a spell and she reads it. Jenny trained and trained, she gets married and has Kids and she keeps training. She does the spell to her old friend by accident, making her friend's dream come true. But Jenny was to old and weak to make another spell. The government found out about the spell. Jenny used her last magic to give her soul of Laughter and she transported it to a Hidden Location. The first Element was created, but no one knew where was the hidden location was and it was hidden for 3 decades.
The 3 decades passed, a young filly by the name of Greener. He breaks the location and finds the first Element and he learns the spell in an instant. He started using the spell wisely and he became the strongest Unicorn in that era. So he knew some kind of evil will get on him and steal his soul, so he made a new Element, and he made the a new spell and that he knew it will be passed through generation. And he used his last life to use magic on the Element of Kindness and the 2 spells. His generation of Harmony ended and a Liar told every pony the legend of the three ancient ponies and told them a lie about they hatting each other. And that's when the ponies hated each other.
A few years later an Earth Pony climbs a Mountain, the Earth Pony was a Girl. She was sitting silently at the mountain when suddenly a Unicorn Invader trips over her and once they saw each other, they became in love and they couldn't take their eyes of each other, but the leader asked for her daughter to come back and she told the invader to run away before they could catch him. The leader came with a sword and the earth pony leader took her back to his kingdom. The earth pony was sad and scared what will happened to him. Once the girl turned 26, she was at marriage age. While her father looks for a descent Earth Pony, she came back to the Mountain and the Invader was sitting there. They sat together and cuddle each other, the Unicorn invader stepped on a trigger and a trap door opened and they both entered into the chamber. There, lying down closed to a Statue was the tomb of Greener and the 2 spells and the 2 Elements. The Unicorn Invader learns the spell and turned the Earth pony into a Unicorn. The Earth Pony, no longer an earth pony, was scared if they see her and was really worried if the leader finds out that she was turned into a Unicorn. So they both made an underground city for them self, to be at peace and live in quite. But the 2 tribes started even a bigger war and then the Unicorn invader was assassinated by the leader. The unicorn girl came out and she used her unicorn powers and she created 2 new Elements, the elements of Honesty and Generosity. And she did the biggest Honesty and Generosity in her life. She died as a Hero, but the war hasn't ended. But she would be known in History for generations.
Then a few years ago the father of Star Swirl the Bearded went on the great search to find the 4 Elements. He was going to give up, but when he was returning he stumbles upon a trigger and then opens another room, different from the Greener Chamber. He saw the Tomb of the two lovers. He started with a novel about these two Forbidden lovers but he stumbles on the 3 new spells and the 4 Elements. So he starts almost 6 decades learning the spell of the Elements and he accidentally burned down the Spell of Transformation and The Spell of Earth. But he gave half his life as Element of Loyalty and the other to take care of his own son "Start Swirls the Bearded".
When Star Swirls the Bearded was at his old age and the Pony wars are at its End, a little filly, by the name of Jaden, stumbles on a cave system but he followed his horn, leading him inside the cave, and once he got in the Elements started glowing and it was his destiny to be Part of the History, he started learning magic and he re-created the The Spell of Transformation and he used the spell on him. The Effects were different instead transforming an Earth Pony, he created a spell to transform an Earth Pony to a Pegasus. He used it on himself. He turned into a... Alicorn. He made the newest Element, the Element of Magic. But once he was going to finish the process, he was murdered. No one knew which was the last element, or where he hid it, but it was part of the Elements.
Since History the elements were called The Elements of Harmony. But a Great evil rises up, and called himself, Discord, the lord of Chaos. So Princess Celestia and Luna used the 6 Elements and defeated Discord, turning him into stone, And Princess Luna betrayed Princess Celestia and she used the Elements of Harmony to banish Nightmare Moon to the Moon, Princess Celestia hid the Elements of Harmony at the old Castle.
The the generation changed and the Elements chose Twilight and her friends to defeat Nightmare Moon and Discord.
So That's the story of the formation of the Elements of Harmony