Spain's National Court has sentenced seven men and a woman to between two and 13 years in prison for beating up two police officers and their girlfriends, but rejected the prosecutors' argument that the defendants should face terror charges.

The call for terror charges caused outrage at the trial because the incident took place two years ago in an area of northern Spain with a strong Basque identity.

The Basque region is trying to put behind it decades of violence at the hands of armed separatist group ETA, which killed more than 800 people, including police, before giving up its armed campaign in 2011.

The court said in sentencing Friday that terrorist intent was not proven and that the accused did not belong to a terrorist organization.