Sheriffs and municipal police officers usually serve as the law enforcement officials in a courtroom.