LAHORE, Pakistan — The husband of a woman stoned to death in Pakistan killed his first wife four years ago, police and relatives said Thursday, a shocking twist both showing how complicated justice can be and how dangerous life is for women in the country.

A mob of family members, including her father and brothers, beat 25-year-old Farzana Parveen to death Tuesday with bricks stolen from a construction site in the eastern city of Lahore as onlookers stood by, authorities said. Initially, many in Pakistan offered their condolences to Parveen’s husband, Mohammed Iqbal, after the killing as the family apparently didn’t want her to marry him.

But Thursday, Zulfiqar Hameed, deputy inspector general for Punjab police, told The Associated Press that authorities had in the past arrested Iqbal for the October 2009 killing of his first wife, Ayesha Bibi.

Hameed could not offer details about the slaying, but said the case was withdrawn after a family member forgave him.

Under Pakistani law, those charged with a slaying can see their criminal case dropped if family members of the deceased forgive them or accept so-called “blood money” offerings over the crime.