In the United States, a district attorney, county attorney, county prosecutor, state's attorney, prosecuting attorney, commonwealth's attorney, or solicitor is the chief prosecutor or chief law enforcement officer representing a U.S. state in a local government area, typically a county or a group of counties.