A 50-year-old man has appeared in court in Caernarfon accused of the attempted abduction of a four year old girl in Flint last August.
Krzystof Ogonowski is alleged to have approached the girl after he saw her playing on her own during a dance contest at the Jade Jones Leisure Centre.
Ogonowski, who is Polish, of Maes y Coed, Flint, denies the charge.
Caernarfon crown court heard from Barrister Anna Price, that he denied taking hold of the girl's hand last August and saying he would take her swimming.
He maintained "they were trying to frame me."
Ms Price said the little girl was playing in a field with her family nearby when it happened.
The jury were shown a video interview with the girl in which she described how a man was allegedly smiling when he spoke to her.
Answering Dafydd Roberts, defending, a woman witness said she had seen the defendant for a split second about 30 yards away grabbing the girl's hand and as soon as she screamed he'd walked off.
She agreed that she'd seen pictures of the man on the Internet after his arrest.
When Mr Roberts suggested that the man she saw grabbing the girl's hand and later arrested and identified by her was not the same she replied : "I disagree."
The case continues.