NEW DELHI — India’s Parliament passed a comprehensive bill Thursday to impose stronger penalties on men who attack women and to criminalize offenses such as stalking and voyeurism.
The bill passed quickly in the upper house of Parliament on Thursday; the debate in the lower house Tuesday was longer, lasting seven hours. President Pranab Mukherjee is expected to sign it into law shortly.
‘‘I think this is an important moment,’’ said Vrinda Grover, a women’s rights advocate and lawyer. ‘‘We have taken quite a few steps forward.’’
The passage of the bill comes less than three months after a New Delhi physiotherapy student was gang-raped on a moving bus and later died from her injuries. The assault drew widespread outrage and prompted protests across India over the issue of women’s safety.
Many Indians have demanded that the government do more to protect women and impose harsher sentences on men who molest them. Reported rapes in India have risen in recent years, and northern India has witnessed a series of highly publicized gang rapes.
The bill is intended to deter and punish sexual offenders, including men who stalk and harass women, and to make the police and prosecutors more responsive. The Indian judicial system has been widely criticized as lax and insensitive in dealing with crimes against women.
The law expands the definition of rape, substantially increases the punishment for sex crimes such as gang rape, makes repeat offenders subject to the death penalty, and defines as crimes actions like disrobing and voyeurism. It also imposes stricter punishment for police officers who fail to properly register complaints of sexual assault.
India’s democracy has often been faulted for being so unruly and its Parliament so dysfunctional that fundamental development issues like education and malnutrition are never adequately addressed. The fact that the rape bill passed both houses of Parliament speedily this week is a sign that the voices of thousands of protesters had been heard, activists said.
‘‘It is good that India still responds as a democracy when there is pressure from citizens,’’ said Meenakshi Ganguly, the director of Human Rights Watch in South Asia.
Cabinet ministers were quick to praise the bill’s passage.
The law includes many, though not all, of the measures suggested in January by a panel led by a former chief justice, J.S. Verma. But some critics argued that in the rush to pass the bill, some major issues were left unaddressed.
“This is a step forward, but the government could have done more homework to bring about a stronger legislation,’’ said Nirmala Sitharaman, the national spokeswoman for the Bharatiya Janata Party, the leading opposition bloc.
Some women’s organizations said the law fell short of offering complete protection for women from sexual harassment.