County detective
In the United States, County Detectives or District Attorney Investigators are peace officers employed by the District Attorney's Office of their respective county. "County Detectives" generally exist in Northeastern states, such as New Jersey and Pennsylvania, where the County Sheriff primarily performs court-related duties. Other jurisdictions may refer to them as "District Attorney Investigators". Duties and authority. California. In California, District Attorney Investigators are sworn peace officers pursuant to § 830.1(a) California Penal Code. The San Diego District Attorney currently maintains a law enforcement arm called "Bureau of Investigation". It consists of eight divisions, which include 130  District Attorney Investigators and other non sworn staff. Amongst its law enforcement duties and responsibilities are assignments which may include pre-trial, gang, economic, insurance, fraud investigations; family protection, child abduction, sex crimes, stalking, and special operation investigations. Apart from this, San Diego DA Investigators may be assigned to regional local, state and federal task forces such as: computer and high tech crimes, narcotics, auto theft, identity theft, violent crimes, SAFE and fraud. Pennsylvania. In Pennsylvania, County Detectives are considered "general police officers" by the courts and as defined by statute. Title 16 P.S. § 1440 As such, County Detectives are  empowered to enforce all the criminal and traffic laws of Pennsylvania. In conjunction with enforcing the laws of the state, County Detectives also perform other duties as dictated by the District Attorney. These duties often include assisting the District Attorney and Assistant District Attorneys with the preparation of cases for trial, assisting municipal police departments with the investigation of serious crimes, and acting as the primary investigator for specific types of crime as outlined by the District Attorney. County Detectives often work joint investigations with federal, state and other local law enforcement agencies. Additionally, many County Detectives perform drug investigations  as members of their County Drug Task Force, which draws its authority from the District Attorney of that county.