A Texas teenager recently decided to stick it to the man when she saw a police car illegally parked in her neighborhood — and wound up with a reward for keeping a cop in line.

Annie James, a 14-year-old from Baytown, Tex., issued a handwritten $10 parking ticket to Officer Tommy King, whose patrol car was parked in a fire zone in the Bay Oaks apartment complex.

"He was parked on the side of the building and it was a fire lane all the way around," Annie told KPRC-TV.

"I came to my car and I saw a piece of paper on my windshield," King said. "I took it off and opened it and read it and I started laughing immediately."

The "ticket" informed King he needed to pay $10 to the manager of the apartment complex.

"I thought it was neat that she made that for $10 but not to herself," King said.

Not only did the officer pay the fine — he gave Annie a $40 gift card to Toys R Us.

"Turns out we're both from Alabama and end up in Texas," King said. "It's interesting ... I made a friend. A lesson would be not to be shy or afraid of law enforcement. We're here to help."