Answer:
state; federal
Explanation:
The judiciary in the United States is organized in two systems: the federal and the state. It should be noted that most US laws fall within the jurisdiction of the respective states, and therefore the definition of crimes, for example, is a matter for each federated unit. On the other hand, there are exclusively federal laws, such as those governing interstate and international trade.
Federal judges are not chosen by election, but only by appointment of the President of the Republic with the participation of the Federal Senate and the Bar Association (ABA). Federal court judges hold office for life. There is no specific criteria for selection, although the custom shows that the choice always falls on someone with legal experience and over 35 years of age. In the states the situation is different, because the appointment of judges varies; while many choose to choose through elections, others admit appointment by the chief executive and there are federated units that adopt the nomination by the legislature.