Almost 200 people were forced to leave the hotel after a pipe burst Wednesday night, flooding all three floors of the McMenamins Edgefield in Troutdale.

TROUTDALE, Ore. — The McMenamins Edgefield in Troutdale is back open on Thursday after a water sprinkler pipe on the third floor of the hotel broke and flooded all three floors Wednesday night.

Nearly 200 people were forced to leave the building.

On Thursday morning, fire crews had wrapped up their work, but caution tape was still up.

A McMenamins spokesperson told KGW that the flood is still under investigation, but one or several guests may be responsible. A "handful" of hotel rooms will be out of service for a few days. None of the hotels restaurants or bars were damaged by flooding, a spokesperson said.

The broken pipe was part of the hotel's fire suppression system. It automatically triggered the fire alarm, resulting in the evacuation.

On Wednesday night, Gresham Firefighters posted a video and pictures on its Twitter page.

Crews were able to stop the leak and shut off the power. They had to get creative, in one picture, using a tarp to divert the water in order to prevent even more damage to the historic building.

The McMenamins Edgefield was built in 1911.

According to the website The Oregon Encyclopedia, a project of the Oregon Historical Society, the Edgefield was built to help the poor in Multnomah County. It used to be called the "Multnomah County Poor Farm."