The incident forced the pilot to turn the Spanair plane around and go back to the islands, although the plane eventually took off again for Madrid, said Jose Segura, the Spanish Interior Ministry's top representative in the archipelago off west Africa.
About 35 minutes after the initial takeoff from the island of Gran Canaria, the man got out of his seat and tried to get into the cockpit. "He said he wanted to say hello to the pilot," Segura said in a telephone interview.
Segura said there was a brief "situation of tension" but the man eventually went back to his seat. Upon landing in Gran Canaria, police arrested him. Segura said he would not characterize the incident as an attempted hijacking.
Segura said the man was in his early 40s, but he declined to give further details.
Turkey has found itself in a circle of countries subject to US and European sanctions. Are they dangerous for Ankara? What is Turkey going to do in response?