JERUSALEM — An ultra-Orthodox Jewish man who had recently been released from prison after serving 10 years for stabbing participants in the annual Gay Pride Parade here in 2005 struck again Thursday, stabbing six marchers in this year’s parade, according to the police.

Two of the victims were in serious condition, according to the emergency services. The assailant, Yishai Schlissel, was pinned to the ground on a central Jerusalem street and arrested by police officers who were stationed along the route, the police said.

Mr. Schlissel wounded three marchers a decade ago at a spot not far from Thursday’s attack and was convicted of attempted murder. He was said to have told the police that he had come “to kill in the name of God.” He was released from prison a month ago.

Jerusalem’s annual Gay Pride Parade has long stirred strong emotions in the city, with many Orthodox Jews objecting to the public display, saying that it defiles the city and offends many of its residents. An ultra-Orthodox news website referred to it on Thursday as “the Parade of Abomination.” There has also been criticism from Muslim and Christian quarters in the past.