A man under the influence of alcohol and drugs was sentenced to prison yesterday after causing chaos at the Criminal Court, punching a policeman in the face and trying to flee from security officers.