Police were called to Manse Street, just off Leeds Road, after 11am on Thursday, after independent Bradford councillor Ibrar Ali was stabbed.
The alleged attacker, a 32-year-old man, fled to the roof of a nearby property before being brought down after a stand-off with police.
He was then arrested on suspicion of attempted murder and remains in custody, West Yorkshire Police said.
In a statement, fellow Councillor Riaz Ahmed (Bradford Moor, Lib Dems) confirmed to The Yorkshire Post it was Coun Ali who had been attacked, adding he was “deeply concerned” by the incident.
It is understood Coun Ali had been out door knocking at the time.
These are the first pictures from the scene taken on Thursday by SWNS:

5. Scenes in Bradford where a councillor was stabbed
Police have confirmed that officers were called to Manse Street, off Leeds Road, at 11.04am following reports that a man had been stabbed Photo: Charley Atkins / SWNS

6. Scenes in Bradford where a councillor was stabbed
West Yorkshire Police said a 32-year-old man had since been arrested on suspicion of attempted murder. Photo: Charley Atkins / SWNS

7. Scenes in Bradford where a councillor was stabbed
Bradford Moor councillor Ibrar Ali was attacked at about 11:04 GMT on Manse Street Photo: Charley Atkins / SWNS

8. Scenes in Bradford where a councillor was stabbed
Police have confirmed that officers were called to Manse Street, off Leeds Road, at 11.04am following reports that a man had been stabbed Photo: Charley Atkins / SWNS

