In another race, a cleric linked to the Taliban was defeated. The influential religious leader, Maulana Samiul Haq, was a mentor to several prominent Taliban leaders at his seminary in northwestern Pakistan. Mr. Haq had the support of the Pakistan Tehreek-e-Insaf political party, which is led by the opposition politician Imran Khan. But Mr. Haq fell short of getting the required votes to become a senator.
Ms. Kumari’s victory was a rare bit of good news for the country’s Hindu minority.
Pakistan has a dismal record over the treatment of vulnerable religious minorities. Most live in fear of their life and property amid an increase in religious intolerance in recent years, along with violence and deadly assaults. Hindus, who make up 4 percent of the country’s population of approximately 200 million people, mostly live in the southern Sindh Province. In recent years, they have increasingly complained of forced conversions to Islam carried out by hard-line Islamists.
The election of Ms. Kumari to the senate is remarkable in this context, and the Pakistan Peoples Party has presented it as an example of the party’s liberal credentials and the importance it gives to religious minorities.
Hindus have previously been elected to the country’s Parliament, both in the lower and upper houses. Two male Hindus from the Dalit caste have served in the senate, both members of the Pakistan Peoples Party. But Ms. Kumari is the first Hindu Dalit woman to be elected.
Ms. Kumari — a native of the Tharparkar district in Sindh Province, a traditional Pakistan Peoples Party stronghold — comes from a family of peasants, and as a Dalit is a member of the so-called untouchables caste.
As a child, she worked as a bonded laborer, and her family was imprisoned for three years in a local landlord’s private jail. But poverty did not deter her from dreaming of a different kind of life.
She married at age 16 but continued her studies and went on to complete a master’s degree in sociology from the University of Sindh, Jamshoro. Ms. Kumari has campaigned for women rights and against bonded labor.
Her family also has a history of activism. Her brother Veerji Kohli, also a human rights activist, was jailed for several years on what the family says were false charges; he was recently released.
Ms. Kumari, who joined the Pakistan Peoples Party in 2010, said in an interview that her nomination as a candidate for the senate had come as a surprise both to her and to the her community in Sindh.
Party officials said her selection as a candidate was an initiative of the party’s chairman, Bilawal Bhutto Zardari, the son of former Prime Minister Benazir Bhutto.
“People of my community distributed sweets when my nomination papers were filed and greeted me with rose petals,” Ms. Kumari said. “I had never seen them so happy in my life.
Ms. Kumari said her aims as a senator would be to work toward improving the lives of religious minorities and the people of Tharparkar, which has been troubled by drought, unemployment and a lack of development.
She said her election had filled her supporters with hope.
“It is like for the first time in history that we have been taken out of a ditch,” she said. “Finally, we are seen as humans.”