photo from media partner 10News

A child who was pinned by a golf cart at a church in Escondido has died.

The incident occurred Monday night at the Church of Resurrection in the 1400 block of Conway Drive, according to Escondido police.

Police said parishioners were gathering for services when several children began playing in and around a golf cart parked in front of the parish hall. The golf cart is used by church staff to get around the large campus.

"One of the boys was in front of the cart when all of a sudden the other two that were in the cart may have stepped on the accelerator or something happened and the cart lurched forward," said Escondido police Lt. Tom Albergo.

The golf cart pinned the 4-year-old boy in front of the cart against a pillar. Officers say the cart pinned the boy in the stomach area.

Adults immediately moved the cart backward to free the child. Once he was freed, his parents rushed him towards the hospital. They saw the Escondido Police and Fire Department on the way and stopped there.

"Must have seen police and fire headquarters and may have just stopped, but I'm just speculating," said Albergo.

Paramedics then took the child to Palomar Medical Center. From there, he was flown to Rady Children's Hospital with critical injuries.

Church members were standing outside at about 9 p.m. when someone walked out of the church in tears.

She did not want to be interviewed but she told another woman the child had passed away. Once word got out of the boy's passing, others started to cry and hug one another.

A church member told 10News security and church leaders are usually really good about making sure the keys are not left in the golf cart and happened was just a tragic accident.