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."

People in need moved into the building and worked on the farm. The idea was to help them become self-sufficient.

RELATED: Tacoma's new McMenamins Elks Temple ready to open after 15 years

RELATED: Fire damages McMenamins in Raleigh Hills