Hakim is a character in the 2019 live-action remake of Aladdin, and the captain of the Agrabah Guard.
Background[]
He is the head of the palace guards, and loyal to the Sultan with a slightly larger role and backstory as the son of a palace servant.
Role in the film[]
He first appears when Prince Anders comes for Princess Jasmine's hand in marriage. Later, when Jafar catches Aladdin breaking into the palace to return Jasmine's bracelet, he orders Hakim and two palace guards to arrest him.
Later in the film, he watches during Prince Ali's parade and attempts to woo Jasmine. When Jafar becomes suspicious of Aladdin's identity, he orders Iago and Hakim to watch him. The morning after, Jafar now aware informs Hakim to capture Aladdin to which he does so again in the same manner. However, after Aladdin's survival and exposes Jafar for manipulating the Sultan, he arrests him and berates his "treachery" due to the law.
When Jafar escapes and returns to the palace with the lamp, Hakim initially tries to arrest him until Jafar wishes to be sultan. Due to this and Jafar reminding him that his duties are to the Sultan, he is ordered to arrest Jasmine, the real Sultan, and Dalia. However, when Jasmine gives an inspiring speech over Hakim's sense of honor and Jafar's disregard for Agrabah's people, Hakim apologizes before ordering the guards to arrest the vizier once again. Disappointed, Jafar makes his second wish to become the most powerful sorcerer in the world before teleporting Hakim and the guards to the dungeon cells.
Upon Jafar's defeat, all of his magic is undone, and as such, Hakim is freed. At Aladdin and Sultan Jasmine's wedding, he is seen happily dancing with the guards.