From the BBC:

A Moroccan man jailed for pretending to be the brother of the king on the social networking site Facebook has been given a royal pardon.

Fouad Mourtada's lawyer said his client had left the Casablanca jail where he was serving his three-year sentence.

He had been arrested at the beginning of February for "usurping the identity of Prince Moulay Rachid".