The state of Alaska has settled lawsuits against Juul and Altria, two nicotine vapor manufacturers, for a combined $7.8 million, the state Department of Law said on Friday.

The suits were part of a nationwide pattern: Alaska and other U.S. states had alleged that the companies deliberately targeted children with advertising, something that likely contributed to a surge in nicotine use among children and young adults.

Altria settled Alaska’s lawsuit for $2 million last year,…