Attacks on the Iranian parliament and Ayatollah Khomeini's mausoleum in the capital, Tehran, have killed at least 12 people and injured many more.

After hours of intermittent gunfire, officials said both incidents were over and the attackers were dead.