Norwegian police say that a knife-wielding man who allegedly stabbed three people to death during a bus hijacking in rural Norway had been due to be deported on Tuesday.

Police spokeswoman Eli Anne Tvergrov says the 31-year-old suspect from South Sudan had been living at a reception center for asylum seekers in the nearby small town of Aardal and was due to be arrested and sent to Spain to have his application for asylum reviewed there.

The man allegedly hijacked the bus on Monday, killing the other occupants, two men in their 50s — the Norwegian bus driver and a Swedish male passenger — and a 19-year-old Norwegian woman. The man was arrested.

Tvergrov said Tuesday that the motive for the attacks is still unclear.