A law enforcement agency is an organization that enforced the law under the authority of some government. Most are referred to as a police force or security force. Law enforecement agencies throughout galactic history took on different names and functions. Some organizations such as the Jedi Order took on other duties as soldiers and diplomats while others such as the Imperial Security Bureau enforced the will of the state through deception and intimidation. Law enforcement organizations are generally divided into three jurisdictional divisions although sometimes an agency could perform functions that are a part of all three. There are agencies with galactic wide duties, agencies with planetary and local duties, and then there are agencies that served various other functions including counter-terrorism and political enforcement. Police officers held different ranks and were generally organized with a command structure similar to that of most military forces.