BAGHDAD  Violence erupted across Iraq on Monday in attacks that left at least 32 people dead and scores wounded, including a suicide bombing at a crowded wake that killed at least 19 mourners.

The suicide attack took place just after sunset at a wake for the brother of an official of the Patriotic Union of Kurdistan party near Jalawla, a small town in Diyala Province. Mourners had gathered when a man detonated a belt of explosives, sending a powerful blast through the crowd and wounding 39 people, security officials said.

Parts of Diyala Province remain a haven for Sunni extremists, who have taken refuge in the province’s palm groves, mountains and sparsely patrolled deserts.

Jalawla is particularly unstable, however, as it lies along a volatile fault line across the country of territories claimed by the Kurdistan region to the north and the Arab-majority governments in Baghdad and the provinces. Tensions have run high in towns in the area, which stretches east from Syria to Mosul and then drops southeast toward the Iranian border.