(CNN) -- A man was shot and killed Thursday in a pre-screening area at Bush Intercontinental Airport in Houston, authorities said.
Police told reporters that the man had just come through the doors in Terminal B when he fired at least one shot into the ceiling.
A Homeland Security Investigations agent was working in an office near the scene, came out and told the man to drop his weapon. The agent fired once at the suspect, who appeared to try to shoot himself at the same time.
An autopsy will determine whose bullet killed the man, who has not been identified, police said.
CNN affiliate KHOU reported the man walked into the terminal with a military-style, semiautomatic rifle and fired two shots into the ceiling.
The station interviewed a woman who works at a McDonald's in the terminal.
"As soon as he walked in, he just automatically started shooting quickly," said the employee, who said her name is Kendra. "And we hear two shots and we just automatically started running. We ran all the way to the back."
Read more: http://www.cnn.com/2013/05/02/us/texas-houston-airport-shooting/?hpt=hp_t2