Police said a man is in custody following an eight-hour standoff in the town of Brownfield.
Police said there was a disagreement between neighbors, and one neighbor showed a gun, leading to the standoff early Wednesday. Police were called just before midnight and other tenants were evacuated from the building.
Maine State Police said 62-year-old Charles King surrendered at around 8:15 a.m. and was charged with several crimes, including reckless conduct with a dangerous weapon and terrorizing.
It was unclear if King had an attorney.
Brownfield is in Oxford County, near the New Hampshire border.