Aaron Trotter committed the assaults after Kent Police was called to a disturbance at a residential home and, while in custody, racially abused a policeman on numerous occasions.
The 33-year-old, from Gillingham, admitted four counts of assaulting an emergency services worker, one count of racially aggravated harassment and breaching a restraining order.