Stolen iphone.can i be prosecuted?

When i got home i noticed a piece of paper by my door. I picked it up and there was and iPhone in there. On the not it say "___ this is ___. Reset this iPhone.i'll be back at 2." the phone tracker start going off, and then the phone rang. I answered because it was the persons mom. I let them know that i had the stolen phone and they could pick it up. They said ok.next, the phone rang again. I answered and i asked was it the owner of the phone, they said yes. I gave them the address and they said they were on their way.next, the police arrive 2mins.later. I knew what they were there for. I gave them the note along with the phone. It turns out the "owner" of the phone was one of the police offices. I gave them my info and an everything but my question is can i be prosecuted for it? There's no evidence I stole the phone but there isn't any evidence that i didn't either. But my finger prints were on the phone along with the note. I'm scared. I know who the person is who took it an I'm furious they set me up like that but can someone tell me what's going to happen

I can't see where you would get charged. You don't have to prove your innocence, they have to prove your guilt. However, if the cops push, give up the person who left the phone. They don't deserve your protection.

You'll tell your side of the story, and the officer will decide whether to charge you
or not.

It won't help, if you have any sort of record for theft. If your record is clean, there's
a good chance that you won't be charged.

Nope. You said you were willing to give the phone back, and displayed no intent to keep the phone. This kinda looks like entrapment anyways.