A Boulder police officer responding to a report of a knife-wielding suspect stabbing a post outside an apartment shot and killed a man armed with two knives who lunged at another officer Sunday.

The officers responded to a 12:30 p.m. call from a neighbor at the Wimbledon Condominiums at 3009 Madison St. The neighbor said that a man, “armed with a knife and a machete, was making threatening remarks and stabbing a post outside his apartment,” according to a police statement.

The officers found no one outside when they arrived at the building and knocked on the suspect’s door. When no one answered, they forced the door open, according to the statement.

“A male suspect jumped out from near the doorway and came toward the first responding officer with a knife in each of his hands. Preliminary reports are that the officer ordered him to get down. When the suspect did not, the officer fired his rifle twice,” the release said.

The Daily Camera reported that one of its reporters heard someone yell, “Drop the knife,” twice.

The suspect was transported to Boulder Community Hospital, where he was pronounced dead.

The officer, a 14-year Boulder police veteran, will be placed on administrative leave with pay.

Authorities have not released the identity of the victim.

The condo where the shooting occurred is owned by a couple in Illinois, according to records. When reached by phone Sunday afternoon, they said their son lived in the condo, but they hadn’t been notified of his death.

Their son has a criminal record in Colorado that includes an arrest this summer on charges of felony menacing and harassment. He pleaded guilty to a theft charge in 2011, a theft charge in 2009, a shoplifting charge in 2008, an assault charge in 2007 and a harassment charge in 2006, according to court records.

The Daily Camera contributed to this report.