Updated

The execution of an opposition leader in Bangladesh sparked violent protests Friday as activists torched homes and businesses belonging to government supporters, leaving at least three people dead, in a fresh wave of bloodshed ahead of next month's elections.

Abdul Quader Mollah, 65, was hanged Thursday night for war crimes committed during Bangladesh's 1971 war of independence against Pakistan. The case has exacerbated the explosive political divide in Bangladesh, an impoverished country of 160 million.

Even as violence swept through parts of the country Friday, hundreds of people rejoiced in the streets of the capital, Dhaka, and said justice had been served.

In an editorial, Bangladesh's English-language Daily Star newspaper congratulated Prime Minister Sheikh Hasina for trying and executing Mollah "40 long years" after he committed his crimes.

Mollah, a leader of the Islamist party Jamaat-e-Islami, was the first person to be hanged for war crimes in Bangladesh under an international tribunal established in 2010 to investigate atrocities stemming from the independence war.

Following the execution, Jamaat-e-Islami activists on Friday attacked ruling party supporters and minority Hindus in parts of Bangladesh, torching their homes and shops. At least three people died in the violence, local TV stations reported. Dhaka, however, was calm.

Hindus are believed to be supporters of Hasina.

Bangladesh says Pakistani soldiers, aided by local collaborators including Mollah, killed at least 3 million people and raped 200,000 women during the nine-month war.

The case remains politically volatile because most of those being tried are connected to the country's opposition. Mollah was a key member of Jamaat-e-Islami, which is barred from taking part in next month's national elections. But the group is closely tied to the main opposition Bangladesh Nationalist Party.

Opponents of Jamaat-e-Islami say it is a fundamentalist group with no place in a secular country. Bangladesh is predominantly Muslim, but is governed by largely secular laws.

The special tribunal convicted Mollah of killing a student and a family of 11, and of aiding Pakistani troops in killing 369 other people during the war. The court had stopped his execution at the last minute Tuesday night — just hours before he was due to be hanged — before rejecting his final appeal.

The execution could complicate an already tense political situation in Bangladesh, where the opposition has carried out violent protests, demanding an independent caretaker government to oversee the Jan. 5 general election.

The government rejected that demand. An opposition alliance led by former Prime Minister Khaleda Zia plans to boycott the vote. Weeks of protests have left nearly 100 people dead since October.