The new laws require a search warrant for gathering emails and other cellphone data, and a notification if someone's information has been collected - with some exceptions.

AUGUSTA, Maine (AP) _ Maine law enforcement will have to get search warrants to gather emails, text messages or data about someone's recent location from a cellphone under two new laws that take effect this week.

The laws go into effect on Wednesday, 90 days following the end of the legislative session in July.

Supporters say the measures are essential because the related federal law is woefully out of date, leaving residents' privacy vulnerable as technology has advanced.

But Attorney General Janet Mills' office and Maine State Police fiercely opposed the bills last session, saying they are both unnecessary and could hamper criminal investigations.

The new laws also require law enforcement to notify someone within three days if their information has been collected, unless they can prove it would adversely impact an investigation.