A West Bloomfield police officer was shot and killed. Police dispatcher identifies dead suspect as Ricky Coley (CNN) -- A late-night 911 call. Police race to the house of a venture capitalist in an upscale suburb of Detroit. Shots are fired at officers and one of them is killed. The house is surrounded, a SWAT unit is summoned and after a 20-hour standoff punctuated by more shots, the homeowner and suspected shooter is found dead. Two lives are over. One, that of a 12-year veteran of the police force, a married man with four children. The other, seen through legal documents and online resumes, appears to have spiraled downward from a high-flying career as a top-level auto executive with a wife and child to that of a divorcee facing legal issues and financial woes. ET Sunday, police officers responded to a report of gunfire at the home in West Bloomfield Township, Michigan, according to a police spokesman. Patrol Officer Patrick O'Rourke of the West Bloomfield, Mich., Police Department was shot dead. Officer Patrick O'Rourke was shot several times by the gunman and later died at a hospital, said Lt. Tim Diamond. After a 20-hour standoff during which police knocked out a wall in the home and the suspect fired more shots, police sent in a robot outfitted with a camera, according to a release from the West Bloomfield police department. When a team of police officers entered the room they discovered Ricky Coley was dead, a police dispatcher said. It appeared that the 50-year-old was on the verge of losing almost everything. According to court documents, Coley was scheduled to have an early intervention conference on Monday morning in his recent divorce case, a day on which he was reportedly about to be evicted. In her filing, Coley's ex-wife, Deniece, alleged he attacked her on June 12 and she moved out of the house. Deniece Coley said her husband had cheated on her and subjected her to "physical, mental, emotional and psychological abuse." Deniece Coley was granted sole custody of their child. According to CNN affiliate WXYZ, Ricky Coley was ordered to leave the house by Monday. WXYZ reported he was also found in default to two banks for $52,000 in one case and $43,000 in another. A resume that was last updated in June 2011 on the website Indeed.com mirrored the LinkedIn profile. Deniece Coley said in her divorce petition that her then-husband hadn't worked in three years. His resumes show Ricky Coley held multiple degrees. He studied industrial and systems engineering at Georgia Tech in Atlanta, earning an undergraduate and graduate degree. He also studied patent law at North Carolina Central in Durham, North Carolina, according to his LinkedIn profile. He also claimed an MBA from Queens College in Charlotte, North Carolina.