Gupta, who is currently posted as assistant municipal commissioner in the Shahjahanpur Municipal Corporation, was arrested from Shahjahanpur and produced before a court, which remanded him to judicial custody, Sambhal superintendent of police (SP) Krishan Kumar Bishnoi and circle officer (CO) Kuldeep Kumar said at a press conference.