Panic gripped the sub divisional magistrate (SDM) office here after a two-and-a-half feet long 'Common Karait' made its way into the premises.
The tizzy officials and visitors ran helter skelter, creating chaos in the office.
SDM Bharat Bhushan Gogia said he was alerted by cries of help by his staff.
"I was in office when I heard screams and noise outside and people came running into my office. They thought the snake was behind them. After some time, the reptile slithered into my chamber," he said.
"I asked my staff to clam down and not hurt the reptile," he said.
The wildlife officials were later called who took the snake away, the SDM added.