The term “marshal” refers to a high-ranking position across many different offices such as law enforcement, fire departments, aviation, and the judicial system. A fire marshal enforces fire codes. Air marshals help maintain safety and security on airplanes, often working undercover. Police marshals are sworn-in law enforcement officers who have statewide authority. A U.S. marshal exists to protect the American court system. A U.S. marshal's duties include escorting prisoners to court and protecting the judge, jury, and attorneys within the building.