FRESNO (AP) — A man shot and killed his estranged wife and her boyfriend outside a Catholic church in central California and then shot himself at his home, authorities said.

Manuel Garcia, 64, waited Sunday for his estranged wife and her boyfriend to leave Mass at St. Alphonsus Church in Fresno and shot them in the head, the Fresno Bee reported .

READ MORE: South Bay BART Extension Funding Dropped From $1.9 Trillion COVID-19 Relief Package

Martha Garcia, 61, died in the church’s parking lot. Her boyfriend, 51-year-old Raul Herrera, died later at a hospital.

The couple’s daughter called police after receiving text messages from her father saying he had killed her mother and was going to kill himself, Fresno Police Chief Jerry Dyer said.

Dyer said that when Fresno police and SWAT officers arrived at the couple’s home they heard a gunshot. A robot entered the home and found Manuel Garcia dead of a gunshot wound to the head with a gun in his hand.

READ MORE: San Mateo Deputies Investigating Fatal Unincorporated Redwood City Shooting

Manuel Garcia and Martha Garcia had been married for 43 years but she had filed for divorce about a month ago.

The woman continued living in the family home, Dyer said, and had recently told relatives that she had a boyfriend.

The killings in central California came hours before a gunman opened fire in a small Texas church, killing 26 people during Sunday services. Authorities said Devin Patrick Kelley, 26, had sent threatening text messages before the attack to his mother-in-law, who attended the First Baptist Church in Sutherland Springs, Texas.

MORE NEWS: EDD Fraud: Feds Indict 2 In State Prison Scam To Rip Off EDD Benefits

© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.