A note found in the car of a man charged with shooting up a mixed-race Tennessee church made reference to revenge for a white supremacist's massacre at a black church in Charleston, South Carolina, two years earlier, according to the Associated Press.

Officials read the note to AP staffers who say it could provide the motive of Emanuel Kidega Samson's mindset at the time of Sunday's shooting and a possible motive for the rampage, which killed a woman and wounded six other people.

The note referenced revenge or retaliation for Dylann Roof, the white supremacist who killed nine black worshipers at a South Carolina church in 2015 and has since been sentenced to death. It wasn't clear what precisely Samson is alleged to have written about the Roof shooting, or whether his note contained other important details that might also speak to a motivation or state of mind.

The law enforcement officials spoke on condition of anonymity.

TRENDING: Trump identifies Judges Amy Coney Barrett, Barbara Lagoa as possible SCOTUS front-runners: Report

In "Shooting Back: The Right and Duty of Self-Defense," the biblical, Christian case is made for individuals arming themselves with guns.

Samson, a U.S. citizen who moved to the U.S. from Sudan as a child, has been charged with murder, and the FBI and U.S. attorney's office in Nashville quickly opened a civil rights investigation into the shooting.

Police have said Samson, masked and wearing a tactical vest, fatally shot a woman who was walking to her vehicle and then entered the rear of Burnette Chapel Church of Christ and shot six other people, walking silently down the aisles with a .40-caliber handgun. The case immediately called to mind the killings at Emanuel AME Church, in Charleston, South Carolina. But unlike that church, which is mostly black, Burnette Chapel in the Nashville neighborhood of Antioch has a diverse congregation with people of various ethnicities, a detail noted in the report. And church members told investigators that Samson had attended services a year or two ago.

Police records say Samson, who is black, had expressed suicidal thoughts in June and had a volatile relationship with a woman that twice involved police this year. He made bizarre Facebook posts in the hours before the shooting, including one that read: "Everything you've ever doubted or made to be believe as false, is real. & vice versa, B."

Like the reporting you see here? Sign up for free news alerts from WND.com, America's independent news network.

Metro Nashville Police say investigators recovered four guns after the shooting that were bought legally from in-state retailers: the 40-caliber handgun allegedly used in the shooting; a military-style AR-15 rifle found in a case in Samson's vehicle; and a 9 mm handgun recovered from the church. Police say a relative gave the guns to Samson for safe keeping.

Police say Samson bought a .22-caliber pistol found in his SUV.