 prosecutor is appointed by by the and confirmed by the i i say appointed by the president confirmed by the senate right so that's really the key is the appointments clause in the constitution you cannot be an officer of the united states without the confirmation by the senate