DOHA — After morning prayers next Monday, Qatar's most prominent defense lawyer plans to gather his files, drive five minutes to the appeals court and try to convince a judge that a poet doesn't deserve to spend his life in prison for a web-posted verse interpreted as defiance against the Gulf nation's ruler. The attorney — a former Qatari justice minister who later helped defend the toppled Iraqi leader Saddam Hussein — knows he has given himself an ambitious agenda. He first seeks to prove the poet was convicted on an allegedly falsified confession. He is then setting his sights on trying to reform legal codes to give more room for free expression in Qatar, a hyper-rich nation with a rapidly expanding international profile. And if that's not enough, he also is up against an overall mood from Gulf officials that's becoming decidedly unfriendly to the web. Arrests now occur regularly across the Western-backed Gulf states for Twitter posts and blogs — even some poems — considered threatening to the state or offensive to rulers increasingly on guard for perceived threats inspired by the Arab Spring uprisings. Earlier this month, two Kuwaitis received two-year prison sentences for Twitter messages considered offensive to the country's ruler. The United Arab Emirates last year imposed sweeping Internet laws that give authorities wide authority against posts construed as a challenge to the ruling system. “Do we want this to be a region where any political opinion runs of risk of bringing a criminal charge?” said defense lawyer Najeeb Al-Nauimi in an interview with The Associated Press in his Doha office. “The system has to reform itself. This is my mission.” The immediate test in Qatar, though, strikes at some of Gulf's most sensitive issues as leaders grope for ways to keep a lid on possible dissent. The appeal seeks to overturn the most severe punishment from the web crackdowns: the life sentence in late November against a well-known poet, Muhammad Ibn Al-Dheeb Al-Ajami, for a verse deemed as encouragement to fight the ruling system. While each Gulf state has its own legal procedures and laws, the region is moving toward greater integrations of all policies. The poet's case will be closely followed — by both authorities and activists — as a message on how far officials can go in muzzling cyberspace. “This sentence, in particular, sent a huge chill right across the region,” said Rori Donaghy, a coordinator at the London-based Emirates Center for Human Rights. “All these crackdowns are meant to make everyone on the Internet think, ‘Could I be next?'” It also has presents a potential quandary for Qatar, which has tried to craft a reputation as a pragmatic power that has benefited from the Arab Spring by exerting its influence with opposition groups in places such Libya and Syria. The case could put an uncomfortable spotlight on issues such as Qatar's proposed new media laws that — like others emerging in the Gulf — give authorities wide leeway for arrests. Qatar's pan-Arab network Al-Jazeera, meanwhile, has faced criticism for aggressive reporting about rights abuses outside the Gulf but giving scant attention to similar accusations at home. Qatari officials have declined to comment on the poet's conviction or appeal. Even the basis for the charges is difficult to pin down. Al-Ajami, 37, has been jailed awaiting trial since November 2011. He was taken into custody months after an Internet video was posted of him reciting “Tunisian Jasmine,” a poem lauding that country's popular uprising, which touched off the Arab Spring rebellions across the Middle East. In the poem, he said, “We are all Tunisia in the face of repressive” authorities, criticizing Arab governments that restrict freedoms. “Thieves,” he called them. But the actual charges appear to be built around an earlier online dispute in August 2010, before the Arab Spring, said attorney Al-Nauimi. In that instance, Al-Ajami claims he was secretly recorded reciting a verse mocking another poet, who was believed close to high-level officials in Qatar. The audio of Al-Ajami's poem, recited to a private group at Cairo University, was posted on the web and became a brief sensation in Gulf literary circles. In the verse, Al-Ajami describes the other poet as an example of a flawed personality unfit to be a leader. The case file against Al-Ajami includes responses from three poets employed by the Culture Ministry concluding that the poem was an indirect call to challenge the state, said the defense attorney. “Since when does the Ministry of Culture become the police?” asked Al-Nauimi. Al-Nauimi plans to undermine the state's case by claiming the prosecutor “cut and pasted” comments from Al-Ajami's interrogation to make it appear he said the poem in public when instead it was given among a handful of friends in Cairo, where Al-Ajami was studying literature. Al-Ajami has since expressed his loyalty to the emir, whose family has had friendly ties with Al-Ajami's clan for decades. But he won't try to appease the rulers with an apology or writing a poem in their praise. “We stand behind the emir and the system. No one can deny that,” said Al-Ajami's brother, Farhad, a law student in Dubai. “But we refuse to go directly to the emir to beg to drop the case. This is not right. He should not be in jail in the first place.” — AP