The accused include a former high-ranking provincial official, an attorney and a former newspaper editor. They were charged in the clandestine videotaping and circulation of a video showing another newspaper editor having sex, Spain's EFE news agency reported.
The video showed a Guinean woman and Pedro Ramirez, editor-in-chief of the Spanish daily El Mundo, having sex.
After several years of legal wrangling, a Madrid appeals court handed down its ruling. It said attorney Emilio Rodriguez Menendez, the former governor of the Basque district of Guipuzcoa, Jose Ramon Goñi Tirapu, and the former editor of the defunct daily Ya, Jose Javier Gomez Bleda, must serve the prison sentences ranging from 2 to 2 1/2 years.