DUBAI, United Arab Emirates — A man fatally shot two prominent hard-line judges in Iran’s capital Saturday, officials said, both of whom allegedly took part in the mass execution of dissidents in 1988.

No group immediately claimed responsibility for the shootings of the judges, clerics Mohammad Mogheiseh and Ali Razini. However, Razini’s involvement in the 1988 executions had likely made him a target in the past, including an assassination attempt in 1999.

Both clerics served on Iran’s Supreme Court, the state-run IRNA news agency reported. A bodyguard for one of the judges also was wounded in the attack at the Palace of Justice in Tehran.

The attacker, who was armed with a handgun, killed himself, IRNA said.

Asghar Jahangir, a spokesman for Iran’s judiciary, told Iranian state television that the shooter had been an “infiltrator,” suggesting he had worked at the courthouse where the killings took place.

— The Associated Press