A man was arrested in Jeddah, Saudi Arabia, after stabbing a guard at the French consulate, state media have reported.

Iran PressMiddle East: Earlier on Thursday, three people were killed and several others injured in a knife attack in Nice, France.

According to Sky News Arabia, the guard was injured with a sharp object. He was hospitalized and his life is not in danger, the French Embassy said. 

The suspected attacker is a Saudi citizen, he was detained by police, the embassy added. 

"The assailant was apprehended by Saudi security forces immediately after the attack. The guard was taken to hospital and his life is not in danger," a statement by the embassy reads.