Summarize this text: A former lawmaker in India’s parliament, convicted of kidnapping, was shot dead along with his brother while police were escorting them for a medical check-up in a slaying caught on live television on Saturday.

The dramatic footage of the men being killed was shared across broadcast channels and social media. A gunman is seen reaching over the shoulders of police to point a pistol at the temple of the former lawmaker, NAME_1, whose turban is blown off as the gun discharges.

His brother, NAME_2, was shot and the two victims died within minutes, while police quickly detained three men suspected of carrying out the slaying.

Media reports say the assailants had been posing as journalists. One surrendered immediately after the shooting, while officers subdued the other two suspects.

They had been among a crowd that had gathered as the two brothers, allegedly kingpins in a local criminal organization, were being brought, handcuffed from a hospital Prayagraj city in the northern state of Uttar Pradesh on Saturday evening.

After carrying out the slaying, the suspected gunmen shouted Hindu religious chants.

One policeman was wounded during the attack.

Fearing the possibility of violent unrest in the wake of the killings, the Uttar Pradesh government barred gatherings of more than four people across the entire state.