SCARBOROUGH, Maine — An hours-long standoff came to a peaceful end in Scarborough early Monday morning, police said.

William Bowser, 56, was charged with two counts of domestic violence assault and with creating a police standoff.

Police were called to a home on McIntyre Way late Sunday after receiving a call about a domestic dispute. Police said family members from out of town were visiting, and there was an argument about weapons being in the home near children who were visiting.

Police in SWAT gear were at the home all morning, and Bowser eventually surrendered a little after 5 a.m.

No one was hurt, police said.

One of the main concerns for police was the safety of kids who were in the home throughout the standoff.

“When the gentleman barricaded some of the windows and doors, the family members fled, but were unable to get their children so our concern overnight has been the fact that these young children were in the house,” Chief Robert Moulton of the Scarborough Police Department said.

Bowser was taken to the Cumberland County Jail in Portland.