A Missouri man accused of planning for his daughter to be beaten and raped was swiftly arrested by police last Friday.

Anthony Brinkman, 32, allegedly placed an ad online looking for someone to beat and rape his 11-year-old daughter while he watched, the St. Louis Post-Dispatch reported.

What Brinkman didn't count on was an undercover officer responding to the request. Officer Randy Vaughn, a spokesman for the St. Louis County Police Department, said the undercover officer agreed to meet the suspect at a predetermined location, KMOV reported.

Brinkman then took his 11-year-old daughter 80 miles away from their home in Cuba, Mo. to St. Louis. He thought he was meeting a woman interested in sexually assaulting the girl with sex toys, according to KSDK. When he pulled into the meeting spot -- a local Cracker Barrel -- he was immediately taken into custody.

According to the Examiner, Brinkman admitted to police that he placed the ad and that he could "perhaps" be in possession of child pornography.

“It’s just a lot of talk for most of these guys, but this guy actually brought [the girl] to the scene to go ahead with the next step of enacting it,” said Detective Mike Slaughter, who handcuffed Brinkman. "If we hadn’t gotten involved and someone bad had gotten in touch with him, something bad would have happened to that little girl."

Slaughter said Brinkman sent undercover officers pictures of the girl and posted them online.

On his Facebook page, Brinkman mentioned looking for a female roommate despite having a girlfriend at the time. When asked why, the suspect wrote (with errors):

"No, i have a gf. But ud be nuts if ud move a guy in and him being alone with your 11 year old while your at work . I dont take risks like that dummy."

Police have seized Brinkman’s computers and are awaiting the results of a forensic analysis.

“He said he was sorry and that he was stupid,” Slaughter said. “But you don’t let it go that far if you don’t have intentions.”

Brinkman is being held on a $100,000 cash-only bond on a charge of attempted statutory sodomy. Prosecutors said they will present to a grand jury additional charges of sex trafficking a minor.