TEHRAN — Gunmen ambushed a car carrying a lawmaker and a local governor on Sunday in Iran’s restive Kurdish region, state news media reported. Both men were wounded, and the driver and a veterinarian traveling with them were killed.

The lawmaker, Heshmatollah Falahatpisheh, a member of a key foreign council in Iran’s Parliament, escaped with minor injuries, according to the Mizan news agency.

Mr. Falahatpisheh and the others were traveling in a sport utility vehicle near Iran’s border with Iraq, apparently without security forces protecting them. As they were driving near the county of Dalahu, four men fired on their car. The governor, Faramarz Asghari, was hit several times and was reported to be in critical condition.

In recent weeks, Iran’s Kurdish regions have seen an upsurge in violence, with several clashes erupting between Iran’s Islamic Revolutionary Guards Corps and Kurdish fighters belonging to the Democratic Party of Iranian Kurdistan and Pejak, an offshoot of the Kurdistan Workers’ Party, better known as P.K.K. According to official reports and statements by the groups, dozens of people have been killed on each side, although none of those claims could be verified.