A court in Uttar Pradesh on Friday announced five-year rigorous imprisonment and levied a fine of ₹50,000 on jailed don-turned politician Mukhtar Ansari under the Gangsters Act in connection with the murder of jail superintendent RK Tiwari in 1999.