Incidentally, the victim was in the hospital undergoing treatment after being shot at two days ago in Barabanki.
Police believe that the victim came under attacks over a illicit relationship.
The incident took place in Gandhi ward of Chhatrapati Shahuji Maharaj Medical University, when Shivnandan, a resident of neighbouring Barabanki district was targeted by Ram Singh and his associate.
The suspects came inside the ward with their faces covered and opened fire at Shivnandan. By the time security guards of the ward fired at them the attackers had managed to flee.
The police are searching for the assailants.