A man is dead after shooting at Yuba City police officers Thursday night, according to officials. 

A man was allegedly threatening neighbors and officers were dispatched to investigate. Officers were dispatched to the 2900 block of Hillview Drive around 9:45 p.m., according to News10. 

When officers arrived, they knocked on the door of the man in question. A short time later, the man came out and police say he was armed. 

Officers ordered the man to put down his weapon, and when he refused, officers fired at the man, according to Yuba City Police Officer Shawna Pavey. 

The man, still shooting at officers, moved to the east side of his home where he was fatally shot by an officer, Pavey said. 

News10 contributed to this report.