ISIS has claimed responsibility for the suicide bombings and gun attacks on parliament and the mausoleum of the Islamic Republic's founder, Ayatollah Ruhollah Khomeini, on Wednesday.
"The mastermind and main commander of terrorist attacks on the parliament and Mausoleum of Ayatollah Khomeini was killed today by the security forces," intelligence minister Mahmoud Alavi was quoted as saying by Tasnim news agency.
Alavi said that in the last month the intelligence ministry had identified and crushed "a terrorist team" almost every day but had not publicised it to avoiding spreading fear among the public.
Iranian authorities have also arrested seven people it suspects of helping terrorists involved in attacks, a judiciary official said on Saturday.
Ahmad Fazelian, a provincial judiciary official, said the seven, suspected of "providing support for the terrorist team", were detained in Fardis, about 50 km (31 miles) west of Tehran, the judiciary's online news agency Mizan reported.
Separately, the head of the judiciary in Fars province said seven people were detained in the southern Larestan area for possible ties to ISIS, Iran's ISNA news agency reported on Saturday.
Tehran police said the car the attackers used on Wednesday was discovered on Saturday in the city centre.
"The terrorists first went by car to the mausoleum and after dropping two of them off, went to the city centre to attack parliament," the police said in a statement published on state media.
(Reporting by Dubai newsroom; editing by David Clarke and Alexander Smith)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.