(CNN) -- Two Swedish journalists who were found guilty in Ethiopia of supporting terrorism were sentenced to 11 years in jail Tuesday, the Swedish Foreign Ministry said. "Our belief was that the court would think they were journalists and they would be released. This is what the prime minister has said before," ministry spokesman Anders Jörle said. "It is not fair that they are sentenced since they are journalists on a journalistic mission." "They are innocent and have been convicted because of their journalistic work," said Tomas Olsson, the journalists' Swedish attorney. "We are very disappointed." A court convicted Johan Persson and Martin Schibbye last week.Persson and Schibbye were convicted on two counts: entering the country illegally and providing assistance to a terrorist organization, according to the Committee to Protect Journalists (CPJ). Press freedom groups say the two were embedded with the rebels while working on a story about the region. Journalists and aid workers are prohibited from entering the Ogaden, where human rights organizations say human rights abuses against ethnic Somalis by Ethiopian troops are rampant.