A man tried to grab a child and get into a restroom stall the child was inside, investigators said.

Friendswood police said the 8-year-old boy was attacked at Mary Queen Catholic Church, 606 Cedarwood Drive, about 4 p.m. on March 5.

Investigators said the man ran away when he heard people in a Bible class being released.

A detailed description of the man has not been released.

Church officials said they sent a safety warning to parents.