While defense and prosecutors both have duties to be ethical, prosecutors have some what different requirements. Certain legal processes are under the control of a prosecutor, including: plea bargaining, the exercise of prosecutorial discretion, selective prosecution, none prosequi, and promises made to secure testimony. The prosecutor must take care to act ethically in each of these processes.