SURREY, B.C. -- The cookie crumbled the wrong way for a pair of thieves when a home invasion led police in Surrey, B.C., to thousands of cookies believed to be laced with marijuana.

The RCMP say a 22-year-old man interrupted two intruders in his home on Thursday and was struck on the head with a crowbar.

Despite the attack, the victim managed to fight off his assailants, who escaped.

The investigation led police to another home where they discovered an amount of marijuana and 8,000 cookies, thought to be loaded with pot.

Now police say two women in the second home, along with the man assaulted in the original attack, are facing drug charges.

The Mounties are still searching for the two men behind the home invasion.