Khan was arrested for making derogatory remarks against General Bipin Rawat on social media, he said.
According to police, four teams were formed to trace the accused, the officer said.
The accused was produced in a local court where the magistrate ordered to send him to judicial custody, the officer added.
(With inputs from agencies)