Student or Learner
It would be a week before al-Hina'i and al-Kharousi were let out on bail (the prosecutor's office would later quietly drop the charge of inciting public disorder leveled against them), but al-Muqbali spent the next three months in prison, eventually receiving an 18 month jail sentence, thanks in no small part to the contents of his mobile phone. The consequences of the arrest, and the seizure of al-Muqbali's iPhone, would ripple throughout the activist community in Oman over the coming weeks and months.
More:Insulting the Sultan in Oman - By Peter Salisbury | The Middle East Channel
thanks in means what? I would be beyond gratitude If you could paraphrase the underlined part. I didn't find thanks in in dictionaries for which I couldn't understand the whole underlined part.