An advocate was on Thursday shot dead inside a court campus in neighbouring Basti district, police said.
Citing eyewitnesses, police said Jagnarayan Yadav (63) was working in his chamber when the incident took place.
At around 3.30 pm, a man came to him and after talking to him for some time, took out a pistol and fired at him. The other advocates and people present there tried to chase the accused, but he managed to escape.
The police reached the spot and rushed Mr Yadav to a hospital, where doctors declared him brought dead.
"The body has been sent for autopsy. The reason behind the murder is not clear at this stage. The lawyer was a native of Kaptanganj village," Additional Superintendent of Police, Basti, Pankaj Kumar said.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections. Election results will be out on May 23.