A 12-year-old Girl Scout was selling cookies with her mom outside a grocery store near San Francisco last week when someone robbed them at gunpoint.

Getty Images

The guy who did it was about 18 years old. He took off with all the money they'd made, and police are still looking for him. But check this out.

A bunch of cops chipped in to reimburse them. And more officers at the station threw down cash, so the Scout got all her money back.

Then the local police officer's association got in on it and bought all of the cookies the girl hadn't sold yet. She ended up with over $1,000.

According to a police spokesman, the cops made short work of the cookies. They were all gone in about a day.

Read more at SF Gate.