TWO people were killed and another injured when a man opened fire inside a private school's administration building in Saudi Arabia today.

The US Embassy said there were no children present during the attack on the Kingdom School in Riyadh but two members of staff have been killed.

2 The main entrance of the Kingdom school in Riyadh today after the attack Credit: Getty Images

The shooting was "a case of a disgruntled employee," said Talal al-Maiman, CEO of Kingdom Holding and chairman of Kingdom Schools, which operated the school.

"It is with regret that the administration building of Kingdom Schools witnessed this morning a shooting incident by an Arab national who was dismissed from the school four years ago on the basis of anger issues and an unstable personality," he told Reuters.

2 The gunman attacked staff at the school's administrative block Credit: Getty Images

The victims were a Saudi national and a Palestinian national, he said, and the situation at the school was contained as of mid-afternoon.

The school had been closed about a week before the Ramadan holiday, in line with a royal decree.

The holiday began on Saturday.

Police cars could be seen at the school campus, but the scene was otherwise quiet.

MOST READ IN NEWS 'BEAST' Mum finds daughters 'knifed to death by date' not knowing he was convicted killer SCHUEY BLOW Michael Schumacher in a 'vegetative state and not responding to his family' CLASH OF THE TITANS Killer whales 'ripping open' great whites to eat hearts and TESTICLES HEATING UP Prince Andrew under pressure as Jeffrey Epstein’s chef 'cooperates' with FBI NO HOPE 'Everything points to Maddie being dead' says prosecutor investigating suspect HORROR FALL 'Inseparable' pals die in 100ft waterfall plunge moments after posting this pic

The US Embassy in Saudi Arabia said there had been a shooting but no children were present at the time.

It tweeted: “There has been a shooting at Kingdom School in Riyadh, shooter still at school. School closed, no children present. Please avoid area."

It added: “Ongoing security incident at Kingdom School as of 3:00pm local time (1pm UK). Please avoid area due to heavy police presence.”

There has been a shooting at Kingdom School in Riyadh, shooter still at school. School closed, no children present. Please avoid area. — ACS Saudi Arabia (@KSA_ACS) May 31, 2017

Ongoing security incident at Kingdom School as of 3:00pm local time. Please avoid area due to heavy police presence. pic.twitter.com/Tc5Yq8tVY4 — ACS Saudi Arabia (@KSA_ACS) May 31, 2017

The school's website said it is part of the GEMS global network of schools and is owned and operated by a company of billionaire Prince Alwaleed bin Talal. It is a girls' and boys' school from kindergarten through grade 12.

In Saudi Arabia, males and females are segregated by grade 4.

The Saudi Interior Ministry did not immediately respond to a request for comment.

An Interior Ministry spokesman said it was a "criminal case" and that Riyadh Police would issue a statement with further details.

Kingdom Schools is owned and operated by Kingdom Holdings, a company of Saudi billionaire Prince Alwaleed bin Talal. It is situated in northern Riyadh.

We pay for your stories! Do you have a story for The Sun Online news team? Email us at tips@the-sun.co.uk or call 0207 782 4368