Salwa Bughaighis was a critic of both Muammar Gaddafi and several of the militias which overthrew him
A prominent Libyan human rights lawyer and activist has been assassinated in her home in Benghazi.
Armed men fought their way into the house of Salwa Bughaighis before shooting her.
Ms Bughaighis was an outspoken critic of many of the armed groups, which still control much of Libya.
Her husband Issam has disappeared, and relatives believe he has been kidnapped.
The killing is the latest in a string of attacks on politicians, activists and journalists who have spoken out against the actions of certain militias.
Libya has suffered from instability since Col Gaddafi’s overthrow in 2011
Ms Bughaighis was killed hours after she had cast her vote in Libya’s parliamentary elections.
A medical source at a Benghazi hospital confirmed she died of a gunshot wound to the head.
An eyewitness has said she was attacked by five armed men, four of whom were masked.
Analysis: Rana Jawad, BBC News, Tripoli
It is not just Salwa Bughaighis’ family and friends who are mourning her but many across Libya.
In 2011, in the early days of the uprising against Col Gaddafi, she was one of the few who kept me up-to-date on the deadly crackdown on protestors.
She and other lawyers and activists braved the streets to protest against the heavy-handed response. She was most recently heavily involved in moves to set up a National Dialogue to discuss Libya’s many problems.
As a civil and woman’s rights activist, she would not mince her words – often speaking bluntly about the dangers posed by Islamist groups and the failures since Gaddafi was ousted. As a lawyer, she frequently spoke of the urgent need for the rule of law.
Those who knew her and worked with her have also been reflecting on the wider context of Benghazi’s continuous killings that have so far gone unpunished. One tribute reads: “What now? Does she become just another poster to carry? Another name lost? Another death that we owe a debt to?”
She had also been a strong critic of Muammar Gaddafi and joined some of the first protests against him in 2011.
She later became an adviser to Libya’s National Transitional Council which governed the country during and directly after the uprising. She leaves behind three sons.
The US Ambassador to Libya Deborah Jones said the killing was “heartbreaking”.
She described the killing as a “cowardly, despicable, shameful act against a courageous woman and true Libyan patriot”.
Earlier this week a candidate standing in parliamentary elections in the southern city of Sabha was assassinated, local media reported.
Libya has suffered from instability and violence since the downfall of Gaddafi in 2011.
The government has struggled to disarm the various armed groups that remained from the war.