According to a judiciary official, Iranian authorities have also arrested 7 people it suspects of helping militants involved in attacks.
Tehran: Iran said its security forces on Saturday killed the mastermind of a twin attack on Tehran that left 17 people dead this week, as security was tightened around the country to prevent other possible plots.
Islamic State 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 militants 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.
On Friday, authorities announced the arrests of 41 suspects in connection with the twin Tehran attacks.
Separately, the head of the judiciary in Fars province said seven people were detained in the southern Larestan area for possible ties to Islamic State, 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.