Odin

Odin is the King of Asgard, the father of Thor, and the adoptive father of Loki. He is also the god of wisdom.

Thor
Years before, Odin led his Asgardian army against Laufey and his Frost Giants .Odin lost his eye in the final battle on Jotunheim, but the Asgardians were victorious. After the battle, Odin stole the Casket of Winters from a temple. In the Great Hall, Odin was about to name Thor as king when Frost Giants intruded in an attempt to retrieve the Casket of WInters. Odin releases The Destroyer and it quickly subdues the Frost Giants.

Odin later rescues Thor, Loki, Sif , and The Warriors Three from Jotunheim after Thor went there seeking for answers regarding the intrusion. He banishes Thor to Earth and strips him of his powers for his arragance. He places a curse on Mjolnir that allows only the worthy to weild. He then sends Mjolnir to Earth aswell.

Loki, witnessing his hand turning blue when he was at Jotunheim, confronts Odin about his origins. Odin reveals that he not only stole the Casket of Winters, but Laufey's son who was left there to die. Odin revealed that he wanted to gain peace between the two realms by having Loki ruling Jotunheim. Overwhelmed by Loki's furious accusations, he fell into the Odinsleep.

While he slumbered, Loki took the throne for himself and Thor regained his powers. As Loki carries out his plans to destroy Jotunheim. They then battle and cause the destruction of the Bifrost Bridge. As they were falling off the bridge, Odin, awoken from his Odinsleep, grabbed their hands. Loki allowed himself to fall into an abyss created in the wake of the Bifrost Bridges's destruction. Asgard then have a mighty feast, where Odin tells Thor that he would amke a fine leader.

The Avengers
Odin sent Thor down to Earth to retrive Loki. He used dark magic to put Thor on Earth since the Bifrost Bridge was destroyed. However, there is an amount of time for Thor to get back to Asgard with Loki.

Trivia

 * "Odin" is also the name of an evil and vengeful king in the Merlin franchise.