A YouTuber who criticised the Moroccan king has been given a prison sentence while a journalist-activist who defended anti-government protesters in a tweet has been detained.
Freedom of speech advocates say the moves on Thursday reflect growing pressure against those who use social networks to express anger at economic and social problems.
A court in Settat handed a four-year prison sentence to Mohammed Bekkaki for referring to Moroccans as donkeys and criticising King Mohammed VI in a video posted on YouTube in November.
The royal family is widely revered in Morocco and criticising the king is a criminal offence.
Meanwhile, journalist and activist Omar Radi was detained in Casablanca on Thursday and charged with insulting a judge.