An attorney in the United States is a lawyer who practices law in court. They can prosecute and defend actions on behalf of their clients.
Other terms for an attorney solicitor, counsel, and advocate.
Types of attorneys
District attorney: The chief prosecutor for a local government area, such as a county
United States attorney: The chief federal law enforcement officer and prosecutor for a federal judicial district
United States Attorney General: The head of the Department of Justice and the chief law enforcement officer for the federal government