Original: In the first film, Jafar tries to use Genie's powers to take over Agrabah, first wishing to become the sultan, and then the most powerful sorcerer in the world.
Simplified: Jafar use his first wish to become the Sultan.