Michigan on Wednesday became the first state to ban flavored e-cigarettes — after a rash of teens were hospitalized across the country with vaping-related illnesses.

Gov. Gretchen Whitmer announced the six-month ban Wednesday, saying that the state’s health department has deemed youth vaping to be a health crisis, the Washington Post reported.

“My number one priority is keeping our kids safe and protecting the health of the people of Michigan,” Whitmer told the newspaper.

The ban — which will go into effect immediately — will prohibit retail and online sales of vaping products that contain sweet and fruity flavors as well as mint and menthol varieties.

Whitmer claimed e-cigarette companies are using the flavors to hook young people and “create new nicotine addicts,” news station WZYX reported.

The order can be renewed for another six months and will stand as state lawmakers pursue longer-term options, the Washington Post reported.

The ban comes as health officials are investigating more than 150 cases in 16 states of breathing illnesses linked to vaping.