A 28-year-old Tunisian is caught on CCTV stealing from a man who had fallen on to tracks on the Stockholm subway, and then leaving him to be hit by a train ITN

A 28-year-old Tunisian who was caught on security camera stealing from a man who had fallen on to the tracks on the Stockholm subway and then leaving him to be hit by a train was sentenced on Tuesday to 18 months in prison for theft.

A Swedish court ordered Nadar Khiari to pay $1,800 (£1,125) in damages to his victim and ruled that he would be deported after serving his sentence. He was not charged with leaving the man on the tracks, since Swedish law does not require people to help.

The September incident stirred outrage in Sweden after the footage was broadcast on TV and went viral around the world.

The video shows the drunk victim falling from a subway platform. Khiari then jumps on to the tracks, steals his belongings and leaves him there. The victim was hit by a train and lost a foot, but survived.

The court wrote that the victim had been "in a particularly vulnerable position, lying intoxicated and injured on the subway track without any opportunity to protect himself, in danger of being killed or being seriously injured. Nadar Khiari must have been fully aware of this."

Khiari confessed to stealing the man's mobile phone, a silver case and a gold necklace, saying he was unemployed and needed money for food and medicine. He apologised for not alerting subway staff that there was a man on the tracks.

He was also convicted of another theft, committed in August. It was not clear whether he would appeal against the ruling.