NEW DELHI — Whether he was killed or committed suicide, the jailhouse death Monday of a man on trial in the gang rape and fatal beating of a woman on a New Delhi bus is being viewed as an enormous security failure at one of India’s best-known prisons.
Authorities said Ram Singh, who was accused of driving the bus during the December attack, was in a cell with three other inmates at Tihar Jail in New Delhi when he hanged himself either with his own clothes or a bedsheet about 5:30 a.m. ‘‘This is suicide,’’ Home Minister Sushilkumar Shinde said.
Singh’s family and lawyer alleged foul play, saying the suspect was in a good frame of mind and had an arm injury that would have made it impossible for him to tie a noose.
‘‘There were no circumstances which could have led to Ram Singh committing suicide. There was no mental stress. He was very happy [about the trial’s course],’’ his lawyer, V.K. Anand, said.
Singh, 33, had been among five defendants facing the death penalty if convicted of the rape attack, which horrified Indians and set off national protests. A sixth accused is being tried and jailed separately because he is a juvenile.
Singh’s death in custody raised further questions about a criminal justice system already under attack for failing to protect the nation’s women. ‘‘It’s a grave incident,’’ said Shinde, the nation’s top law enforcement official. ‘‘It’s a major lapse.’’
The government had ordered a magistrate’s inquiry and would take action after it received the report, he said.
Kiran Bedi, the former director of the jail and now an activist, said prison officials had a moral and legal obligation to ensure Singh’s safety, and she expressed surprise that authorities had not been monitoring him with cameras.
‘‘You are duty bound to protect the lives of the prisoners,’’ she said.
Mamta Sharma, chair of India’s National Commission for Women, said jail authorities had to explain Singh’s death ‘‘despite so much protection, so much precaution, so much security.’’
‘‘This means that even though he was accused of such a heinous crime, the jail administration did not keep a watchful eye on him,’’ she said.
Sixty eight inmates in India killed themselves in 2011 and another eight were killed by fellow inmates, according to India’s National Crime Records Bureau. Tihar Jail is badly overcrowded, with its 12,000 prisoners nearly twice as many as it was designed to hold.
Bedi said despite that, the treatment of inmates has improved over the past two decades as the jail became more transparent, with volunteers constantly coming in and prisoners better educated about their rights.
Lawyers for the defendants had previously accused police of beating confessions out of the men.
Ram Singh’s father, Mangelal, said his son had been raped in prison by other inmates and had been repeatedly threatened by inmates and guards. Nevertheless, he said he visited his son four days ago and the man appeared fine and gave no hint of any despair.
Ram Singh also had a badly injured hand and would have been unable to hang himself, his father said, speaking from outside his small home in a New Delhi slum.
‘‘Somebody has killed him,’’ he said, saying he would push for a top-level investigation from India’s Central Bureau of Investigation.
Mangelal Singh said he feared for the safety of another son who is also on trial in the rape case.
Vivek Sharma, a lawyer representing another defendant, said he planned to ask the court to provide greater protection for his client.
Vimla Mehra, the director general of the jail, declined to say how Ram Singh could have managed to kill himself without alerting the other inmates in his small cell or the guards. ‘‘The inquiry is being conducted and it would be premature to make any statement about the details of the incident,’’ she said.
The rape victim and a male friend were attacked after boarding the bus Dec. 16 as they tried to return home after watching a movie, police say.
The six men, the only occupants of the private bus, beat the man with a metal bar, raped the woman and used the bar to inflict massive internal injuries to her, police say. The victims were dumped naked on the roadside, and the woman died from her injuries two weeks later in a Singapore hospital.
The attack set off nationwide protests about India’s treatment of women and spurred the government to hurry through a package of laws to protect them.