A version of the video was posted by a Facebook user who urged the mother be arrested. It has more than $1 million views.

Lofton is charged with two counts of Felony Child Abuse, Contributing to Delinquency, and Possession of Marijuana.

The baby has been placed in child protective services.

Raleigh police say they launched an investigation after outraged people saw the video on the internet and reported it to police.

In a Facebook post, the police department thanked the public for bringing the video to their attention.

“Big thanks to everyone who posted information about the smoking mother and baby,” the post said. “Thanks to your willingness to get involved, the child is now safe and the mother is in police custody.”