A man killed in a Thursday morning gang-related shooting at a Marietta home was a five-time convicted felon who had recently been released from jail.

Before he was shot and killed in Cobb County this week, Keandre Funches had several run-ins with Marietta police, including attempting to shoot at an officer, Marietta police Officer Chuck McPhilamy told The Atlanta Journal-Constitution.

Officers attempted to arrest Funches during a Jan. 16, 2015 domestic violence call in which he raised a gun at one of the officers and pulled the trigger, The AJC previously reported. The gun malfunctioned. He was arrested a week later in Mississippi.

Funches was released from prison March 30, according to the Department of Corrections. The 25-year-old had been in prison four other times since 2009 on multiple charges, including aggravated assault and gang activity.

Javarian Mitchell (Credit: Cobb County Sheriff's Office)

Credit: undefined

icon to expand image

Credit: undefined

In his latest brush with the law, authorities say he was let into a home by Javarian Mitchell and threatened homeowner Shaquita Green and her children at gunpoint before being shot and killed by Green.

Green told Channel 2 Action News that Funches was looking for her husband, William Green.

Marietta police are still piecing together what led to the attack that was initially reported as a home invasion.

“We don’t believe (Shaquita Green) meant to mislead anyone,” McPhilamy told The AJC. “We believe it was a confusing time.”

While protecting her children, Green managed to grab her own gun and fatally shoot Funches, McPhilamy said.

But Green said she’s not sure why Funches was looking for her husband. Neither knew him, nor had ties to the alleged gang activity, McPhilamy said.

“He wanted my husband, that's all he kept saying,” Green told Channel 2.

Green does not face charges in the shooting, but authorities arrested and charged Mitchell with murder, four counts of aggravated assault, three counts of cruelty to children and four counts of false imprisonment.

In other news:

Shaken Baby Victim Dies 6 Years Later; Father Could Face Murder Charges