Saudi Arabia sentenced a Yemeni man to death for his knife attack on a Spanish theatre group in Riyadh last month, Saudi Arabia's state television said.
The court also sentenced an accomplice to 12 years and six months in jail for the November 11 attack that Riyadh linked to militant group Al Qaeda. Spain said four performers were wounded.
The 33-year-old attacker was directed by an Al Qaeda leader in Yemen to carry out the attack. The militant group has yet to claim the attack.
Al Qaeda in the Arabian Peninsula is considered to be the strongest arm of the militant group.
It was the first assault since Saudi Arabia announced a wave of entertainment events.
The Riyadh Season festival is part of a broad government push to open up the kingdom to tourists and diversify its economy away from oil.
Crown Prince Mohammed bin Salman has pursued sweeping social reforms that mark the biggest cultural shake-up in the kingdom’s modern history, allowing mixed-gender concerts and the reopening of cinemas.
Saudi Arabia is leading a military coalition supporting the Yemeni government against Iran-backed Al Houthi rebels and has also been involved in the fight against Al Qaeda.