The murder suspect who died during a standoff with Santa Clara police Sunday was a military airman,and was disciplined and demoted shortly before his death, according to the U.S. Air Force. Ian Sloan York, 21, had his rank reduced from Airman First Class to Airman Basic after being caught huffing fumes from aerosol cans, according to a statement from Beale Air Force Base, located near Marysville, north of Sacramento. As part of the disciplinary measures, York lost access to service firearms he used in his duties with the security forces squadron, similar to military police.The rank reduction and pay cut took effect July 2, according to Airman First Class Charles Broadway in the base’s public affairs office. Two days later, York allegedly shot and killed his 19-year-old girlfriend Kelly Roome, and injured another man as well, according to Maryville police. Authorities alerted Santa Clara police that York had likely fled to the area.A police officer spotted him on foot Sunday on Bowe Avenue near El Camino Real around 11:30 a.m. An officer and the suspect exchanged shots, and York fled into the woods near Saratoga Creek.Investigators are still piecing together the exact sequence of the ensuing events, which lead to York’s death about an hour later. On Thursday, the Santa Clara County medical examiner’s office ruled York’s death as suicide from a self-inflicted gunshot wound, even though he died under fire from Santa Clara police.York shot himself in the head some time after being spotted by police, but before officers located him sitting in the bushes next to the creek, said Santa Clara police spokesman Lt. Phil Cooke.Visibly injured but still alive, York remained in the shrubbery, a 9mm Glock pistol at his side and ignored officers’ requests to disarm and surrender, Cooke said. When York made a sudden move toward his gun, police fired on him, according to police. York was dead after the gunfire stopped, Cooke said, although the coroner’s report stated that the self-inflicted gunshot was ultimately the fatal one. Police are offering few other details as the investigation continues.The gun York had by his side was not military-issue, according to a statement the Air Force issued earlier this week. According to the statement, York returned from a six-month deployment in Kuwait in March 2009. He had been stationed at Beale since December 2007.