QUEEN CREEK, Ariz. -- Sheriff's deputies tried coaxing Mark Matheny, 29, out of a home in Queen Creek Tuesday afternoon.
Matheny is accused of stabbing his wife with a 6-inch knife and beating her with brass knuckles.
The violent crime happened last Thursday.
While Matheny's wife is recovering at a local hospital, sheriff's deputies from Maricopa and Pinal counties were called out to a home on Agrarian Hills Drive.
"It looked like two SWAT teams came," said concerned neighbor Diana Regazzi. "There were quite a few men out here with big powerful guns."
Regazzi's neighborhood was on lockdown for hours, including a school within walking distance of the home.
A man outside of the house told 3TV off-camera that he owned the home and Matheny is his friend.
The homeowner told 3TV he was unaware Matheny was wanted for attempted murder.
Neighbors described a chaotic scene unfolding in front of their eyes.
"Many times during the day, a plain-clothed sheriff kept going into the backyard and kept saying, 'Come on out. Come on down. Let's work this out. Let me try to help you,'" Regazzi said.
During the standoff Matheny posted a message on his Facebook page. The note said, "I'm sorry I had to do this over a girl but goodbye cruel world. I tried reaching out for someone's help."
Thirty-five friends responded to the posting, many of them begging for Matheny to call them.
Deputies said Matheny tried hanging himself with a telephone cord.
Brandon Jones with the Maricopa County Sheriff's Office said Matheny was taken to a local hospital, alive and talking.
Jones also said Matheny is a self-proclaimed white supremacist.
"He has done prison and jail time mainly in California," Jones said.
Regazzi was hoping no one would get hurt.
"I did say a prayer that everyone is safe, even the man in distress," Regazzi said.
MCSO is trying to get a search warrant to comb through the home for evidence.