POLICE called to a report of men carrying knives in a flat stumbled across a cannabis factory.
Officers received a report of two men entering a flat on Deeside with blades.
But while at the flat they noticed a padlocked door with bright light coming from the other side.
Matthew Whelan, 26, told police that it was a room where the the lights had been left on.
But when officers forced their way in they found that it had been converted into a cannabis growing factory with 40 plants. Whelan, of Phoenix Street, Sandycroft, admitted producing the class B drug and was remanded in custody to be sentenced at Mold Crown Court.
Flintshire Magistrates Court heard that Whelan was already on licence following his release from a previous prison sentence and would now be re-called.
Prosecutor Justin Espie told how two officers called at the property after an anonymous tip off that two males were seen to be entering the Deeside property with knives.
Police officers, some armed, made their way there, he explained.
They were allowed in to check for the armed men and it was while there that police noticed the padlocked door.
There seemed to be bright lights emerging from it.
Whelan started to sweat, the court heard, and told police that it was just a room where the lights had been left on.
“But the door was forced open and it became apparent that it had been converted into a cannabis factory,” said Mr Espie.
There was a large silver vent on the chimney wall and there were 40 cannabis plants in individual black containers.
There were also two lights were suspended from their ceiling.
The plants were of varying sizes, from six inches to two feet and there was a fan on the floor.
Defending solicitor Howard Jones said that there defendant accepted that he would be sentenced in the crown court.
District Judge Andrew Shaw told Whelan that he had made a wise decision to plead guilty which meant that he would receive maximum credit when it came to sentence.