Iranian lawmaker Heshmatollah Falahatpishe has survived an assassination attempt in Kermanshah Province in the west of the country, Iranian news agencies reported.
Falahatpishe sustained minor injuries but a local official and their driver were killed when gunmen opened fire on their vehicle, the reports said.
Another official injured in the attack was reported to be in serious condition.
Lawmaker Farhad Tajari said security and judicial officials are investigating the attack.
He said the "terrorists" set fire to their car and left the area on foot.
No group has claimed responsibility for the attack.
Lawmaker Ahmad Safari told Mizan Online that the attackers belonged to the Party of Free Life of Kurdistan (PJAK), an Iranian Kurdish group with close links to Turkey's outlawed Kurdistan Workers Party (PKK).
In past weeks, Iranian forces have clashed with Kurdish rebels in the northwest of the country.