New York (CNN) -- A Hofstra University student who died during a confrontation between a home invasion suspect and authorities was killed by police gunfire, a Nassau County, New York, police spokeswoman said Saturday.

Police fired eight shots at the intruder, who authorities say was holding a gun to the head of Andrea Rebello, 21, during a home invasion robbery Friday at an off-campus house in Uniondale.

One of the shots hit Rebello in the head, killing her, police spokeswoman Maureen Roach said.

Also killed was the intruder, whom authorities identified as Dalton Smith, 30, of Hempstead. He was struck seven times.

Authorities say Smith was wearing a mask. He invaded the home Rebello shared with her twin sister and two others during the predawn hours on Friday.

At some point, a female roommate of the twins was able to leave the home and call police, a police spokesman told CNN on Friday.

When a police officer arrived, Smith was holding a gun to Rebello's head, Roach said.

He told the officer he was going to kill Rebello, and then turned the handgun toward the officer, she said.

The officer, fearing for his life, drew his gun and fired, Roach said.

Authorities have not identified the officer.

At the time of the shooting, Smith was wanted for jumping parole, police said.

He was on parole for first-degree robbery and had an "extensive" arrest history that includes robbery, assault, and promoting prison contraband, said police in Nassau County.

A warrant for his arrest was issued April 25 for allegedly absconding from parole, police said

Rebello's high school principal, Carol Conklin-Spillane, said the twins' home community in Westchester, New York, was heartbroken.

She described Rebello as a fun-loving, personable and self-aware young woman.

Her parents, Fernando and Nella Rebello, are closely tied to the Portuguese community, and always worked to create opportunities for their children, Conklin-Spillane said.

Rebello, a junior, was majoring in public relations.

Hofstra University said it is offering counseling to students.

"Our hearts and minds and our thoughts and prayers are with her family, her friends and her classmates," the university said in a statement.

I agree. Once that dude said what he said and pointed the gun at the officer...all bets are off.

I disagree, the officer put his life above the hostage. He didn't go all gung ho opening fire until his life was threatened. As civilians, we're responsible for each round fired and there is no reason that a police officer shouldn't be also. If this was a citizen that executed the woman, they would have been charged immediately with manslaughter and likewise so should the cop.

The police department was notified it was a hostage situation and sent 2 officers? There was something like 16 shots fired, the criminal never fired a shot.
Maybe I am Monday morning qbing, but it seems like the officer should have retreated and allowed individuals trained in hostage situations to proceed.

I disagree, the officer put his life above the hostage. He didn't go all gung ho opening fire until his life was threatened. As civilians, we're responsible for each round fired and there is no reason that a police officer shouldn't be also. If this was a citizen that executed the woman, they would have been charged immediately with manslaughter and likewise so should the cop.

The police department was notified it was a hostage situation and sent 2 officers? There was something like 16 shots fired, the criminal never fired a shot.
Maybe I am Monday morning qbing, but it seems like the officer should have retreated and allowed individuals trained in hostage situations to proceed.

Well maybe if the cops only had 7 rounds like the rest of NY their might not have been an 8th round to kill her!

Seriously though, it's probably true the cop ****ed up, but in a high stress situation people make mistakes. Everyone is human, it's hard to blame the cop and honestly the punishment he'll put himself through is probably worse than anything else!

That said here's ABCnews lead picture of her....

Can you say she looks like the devil here????

Has the media campaign to turn public opinion against here???

__________________
"Political correctness is a doctrine, fostered by a delusional, illogical minority, and rabidly promoted by an unscrupulous mainstream media, which holds forth the proposition that it is entirely possible to pick up a t*rd by the clean end"