A man is charged with raping a 12-year-old girl and posting naked pictures of her online.

Police told Post-Gazette news partner KDKA-TV that Matthew Gourley allegedly posted images of the girl in a chatroom. Police raided his home on Kingston Avenue in Crafton on Monday, KDKA said.

The girl told police that the abuse began when she was 9 years old, authorities said.