Police said Tyagi was being taken from Roorkee jail to Laksar court for a hearing on Wednesday, when two bikers allegedly opened fire at the police vehicle near the Laksar flyover, and shot Tyagi.