To persecute is to harass or oppress.
To prosecute is to bring before a court.
1. The Kabuli money-lenders persecute their debtors in a heartless fashion.
2. Jews were persecuted in the former Soviet Union.
1. He was prosecuted on a charge of tresspass.
2. He was prosecuted for theft.