A father has been jailed for sending obscene pictures to "schoolgirl" - not realising it was an undercover policeman.
Malcolm Blount, 55, was caught by police after he emailed three pictures of his genitals to an officer posing as the 12-year-old girl.
A court heard that police created the account WelshBeth12 on a chat room site - and received messages from Blount hours later.
Under the username SilverFox54, he told the child she was "looking sexy" and that he was "feeling horny".
Cardiff Crown Court was told the dad-of-one then asked the schoolgirl for her email address - and sent her three pictures taken in his bathroom.
After undercover officers received the images Blount was arrested. A search of his mobile phone found 94 indecent images of underage girls.
Blount, of Barry in the Vale of Glamorgan pleaded guilty to inciting a child under 13 to engage in sexual activity, distribution of indecent photographs of children and possession of indecent photographs of children.
He was jailed for two years.