HC upholds jail term for official