The city of Charlotte announced a curfew will go into effect Thursday at midnight due to the protests that have erupted in the city this week over the fatal shooting of a black man at the hands of police.

ADVERTISEMENT

The citywide curfew will run from midnight to 6 a.m. each day while the state of emergency is in effect, according to the proclamation issued by Mayor Jennifer Roberts.

Gov. Pat McCrory declared the state of emergency and deployed National Guard troops Wednesday in response to violent protests following the death of Keith Lamont Scott Tuesday.

A man was fatally shot during the Wednesday protests, in what police are saying was a confrontation with another protester.

WATCH: Man gets cursed out by protesters for hugging #Charlotte police officers pic.twitter.com/86UdZL1Q2a — Joel Franco (@OfficialJoelF) September 23, 2016

The calmest man in Charlotte is protester Henry Lee, 51, who silently refuses to leave his chair. pic.twitter.com/8abgzPwoDZ — Matthew Teague (@MatthewTeague) September 22, 2016

Those exempted from the curfew include law enforcement officers, firefighters, doctors and other hospital employees, military personnel and journalists.