In April 2023, the MP MLA court in Ghazipur had convicted Afzal Ansari, who was then a Bahujan Samaj Party (BSP) MP, in a kidnapping and murder case related to Krishnanand Rai's killing.