Guards

The Palace Guards are characters which appear in Kingdom Hearts χ. They originally appeared in the animated film  and are responsible for guarding the Sultan, his royal palace, and Agrabah.

Kingdom Hearts χ
After helping the unconscious Aladdin in the desert and visiting Agrabah, the player can talk to the Palace Guards for the first time. The guards explain that the city is under attack of the Heartless and that the defense is not going well. The Heartless seem to be emerging from a legendary cave on other side of the desert and after the attack on some of their comrades, they ask the player to follow their footsteps in the desert to find the attacker. The player arrives in time to save a guard from a Fat Bandit who reveals, that the Heartless are appearing in the royal palace too.

As it turns out another Fat Bandit is already marching to the palace gates with the guards being unable to stop him. The player also defeats this one but is repeled by an unknown Heartless. Gladly Aladdin arrives just in time to help the player against this new foe but before being destroyed, the Heartless vanishes.

Appearance
Both guards have tan and wear a similiar uniform, consisting of a white turban with a red jewel on top, a black vest decorated with a golden sash, a red belt, white baggy trousers and pointed shoes. The first guard wears a black beard and is built more muscular while the second guard is slim and a smaller.

Origin
The Palace Guards first appear in the Walt Disney's 1992 film, Aladdin. Though their job is mainly to enforce the Sultan's rule and act as a sort of police force in Agrabah, they also take orders from Jafar, making them into minor antagonists towards Aladdin. In the original film, the Guards appear to relish acts of sadism, demonstrated when they happily obey Jafar's order to throw Prince Ali (a disguised Aladdin) into the sea to drown, and laugh evilly in the process. In The Return of Jafar, the television series and Aladdin and the King of Thieves, the Guards have been somewhat toned down and are allies to Aladdin. The most prominent guards are Razoul, the chief guard who maintains an unfriendly rivalry with Aladdin and frequently calls him "street rat"; Fazal, a dark-coloured obese guard who eats endlessly (to the point that Razoul quips that "When [Fazal] is not thinking of food, it will be time to bury him."); and Hakeem, a slim, deadpan-voiced guard frequently partnered with Fazal.

Trivia

 * Although never referred to by name in the game, the burlier and the slimmer of the palace guards are modeled after Razoul, captain of the royal guards, and Hakeem, another guard, respectively, from Disney's Aladdin franchise.