A man in Selma, Alabama, is facing three counts of attempted murder after allegedly shooting his girlfriend, 1-month-old son and a pastor inside a church Sunday morning.

Witnesses told WSFA James Junior Minter opened fire at the church on Sunday, but members of the congregation were able to strip him of his gun before he fled. Police arrested Minter less than a mile from the church.

>> Read more trending stories  

A 61-year-old pastor was injured in the shooting when he allegedly tried to wrestle the gun away from Minter.

The Dallas County district attorney applauded the pastor's efforts, calling him a "good Samaritan" and saying he "probably prevented a lot more shooting."

Police say a dispute over visitation as well as ongoing domestic violence could have been the motive for the shooting.

All three victims are now in stable condition. If convicted, Minter faces 10 years to life in prison.

Read more at newsy.com.