A sign hangs outside the YMCA in Portland, Maine, along Forest Avenue.

Fire officials in Maine are investigating a fire at the Portland YMCA that temporarily affected 31 men living there as part of a housing support program.

The Portland Press Herald reports crews responded to the Portland YMCA around 4 p.m. Thursday. Assistant Fire Chief Keith Gautreau said a sprinkler system helped contain the small fire.

No injuries were reported.

According to a YMCA statement, the 31 residents are living in the dormitory through a housing support program called GROW. YMCA officials say the program provides temporary shelter for men moving into stable housing from homelessness.

YMCA of Southern Maine CEO Helen Brena said the Red Cross was quick to offer help for any residents who may have been displaced by the fire, but that after a cleanup effort Thursday night, the residents were able to return to stay there.

Follow the Bangor Daily News on Facebook for the latest Maine news.