A man is facing charges after he brandished a handgun at a police officer in the northeast community of Temple, sparking an eight-hour standoff this morning, Calgary police say.

Six other people have also been taken into custody in connection with the incident in the 200-block of Templebow Place N.E., and police are obtaining a warrant to search the property.

Police say they were called to the house just after 2 a.m. in response to a noise complaint.

While an officer was conducting a traffic stop, a man came out of the home and brandished a handgun, police said in a release.

The man then went back into the home, with several others inside, and refused to come out — despite repeated calls from police over a megaphone.

"It was loud all night," said Ricardo Mendoza, who lives next door to the house.

"The police were there, every two ... three minutes, telling them they were under arrest." 

Mendoza told CBC News his family was told to hide in the basement.

Temple Standoff

Police had blocked off a three-block radius around the house for about three hours early Wednesday morning. (Allison Dempster/CBC)

"At around 3:30 a.m. we got a phone call from police saying that we have to move to the basement, because there was an incident with the neighbours and it wasn't safe to be around the house," Mendoza said.

Police said seven people were taken into custody, including the man who faces weapons charges.

​During the standoff, police had blocked off access to a three-block area surrounding the home and were keeping media and residents out.

Map Temple

(Google Maps)