MUMBAI, India — India hanged a man on Saturday who had been convicted of involvement in a 2001 attack on Parliament that killed nine people.

The hanging of the man, Muhammad Afzal, also known as Afzal Guru, a 43-year-old militant with the group Jaish-e-Muhammad, came more than a decade after the Dec. 13, 2001, suicide attack on India’s Parliament, in which five gunmen armed with grenades, guns and explosives opened fire, killing nine people, most of them security officials. The execution drew protests from human rights groups concerned about the growing use of capital punishment in such cases.

Mr. Afzal was convicted of conspiracy in the plot and sentenced to death by a special court in 2002. In 2004, the Indian Supreme Court upheld the death sentence.

After the execution, clashes broke out in Mr. Afzal’s hometown, Sopore, in the northern part of Jammu and Kashmir State, and the police and paramilitary units were called to restore order. Days before the execution, President Pranab Mukherjee had rejected a plea for mercy from Mr. Afzal’s wife, according to reports from The Press Trust of India, paving the way for his hanging in the Tihar Jail complex near New Delhi, officials said.