RALEIGH, N.C. — North Carolina's attorney general has filed a lawsuit against a popular e-cigarette maker, asking a court to limit what flavors it can sell and ensure underage teens can't buy it.

RELATED: Anti-Vaping Advocates Push for Raising Legal Age to 21

Josh Stein is the top law enforcement official in the traditional tobacco-producing state and in announcing his lawsuit Wednesday says he's the first state attorney general to take the maker of Juul to court. The Massachusetts attorney general also announced an investigation last year into JUUL's sales and marketing.

RELATED: Youth smoking decline stalls, and vaping may be to blame

Stein said JUUL's marketing practices have caused an "epidemic" among young people. He said in a news release: "JUUL targeted young people as customers."

RELATED: Juul halts store sales of some flavored e-cigarettes

A spokesman for JUUL Labs said in an emailed statement that the company is also concerned about youth vaping and is already working to reduce the practice.

RELATED: E-cigarette maker JUUL to create 500 new jobs at SC plant