Salem lifted its water advisory on Tuesday after determining the city's tap water is now safe for everyone to drink.

The water was tested daily for more than a month after cyanotoxins produced by blue-green algae were found in Detroit Lake, a reservoir on the Santiam River that is the city's water source.

Though the water was safe for most people, city officials said it should be avoided by young children, pregnant women and other vulnerable populations. Drinking water with cyanotoxins can cause an upset stomach, vomiting, and possible liver and kidney damage.

The city issued the first water advisory on May 29, prompting Gov. Kate Brown to declare a state of emergency two days later for Marion and Polk counties. The declaration allowed the Oregon National Guard to deliver clean drinking water to the affected areas.

The most recent advisory, issued on June 10, ended after 12 consecutive days of testing revealed negligible amounts of cyanotoxins.

The department that monitors water quality previously shipped water samples to Ohio for testing. Now, the city has an in-house system to test water and receive results the same day.

"The health and safety of our residents and drinking water customers remains our highest concern," City Manager Steve Powers said.

After a trial period, the city's water is now treated with activated carbon to remove cyanotoxins. That approach will be implemented more fully at the main water treatment facility on Geren Island.

Going forward, crews will continue to collect samples at two locations every day until Sunday. If all the tests show toxin levels below the federal guidelines for an advisory, the sampling will be scaled back to three days a week.

Since the initial advisory, water sample results have been posted on the city of Salem's website.

-- Molly Harbarger