A gunman carrying an assault rifle fired an incredible 800 rounds on Sunday evening in a suburb of Tehran, killing seven people including his wife and two young children, according to PressTv reports.

The middle-aged man identified only as Mohammad first killed his wife and two children, then went on the roof of his house and started shooting at neighbors and passers.

It started at about 7 p.m. in the suburb of Quds, about 12 miles west of Tehran. Four of his neighbors were also killed and five other people were reported injured.

The man was arrested after the shooting. His motive was not immediately clear.

Local media said he used an AK-47 assault rifle and fired more than 800 rounds before running out of ammunition.

The AK-47 is capable of firing about 600 rounds per minute.

In Iran, civilians are not allowed to keep automatic rifles, and it is not clear how the assailant had gained access to this weapon.