SEASIDE - Two hours after they heard the gunshots, police had a man in cuffs.

And Police Chief Robert Gross - on the job for less than a month - led from the front as his officers captured the fugitive at gunpoint.

The early-morning drama featured reports of shots fired, a man with a not-so-funny wound in his buttocks, children in peril for a time, and eventually two charges of attempted murder.

Apparently it all began because of comments about a woman.

It ended with Caleb Raymond Brewer, 27, in custody and facing serious charges. The shooting victim, Vincent Fritzie, was treated and released from a hospital.

Here's what police say happened:

Police heard gunshots in the area of Columbia Street and Avenue A at 12:19 a.m. and found Fritzie, who had been shot in the rear. His companion, Kain Dejoode, was not injured.

A vehicle being driven by the shooting suspect was fleeing down Avenue A and the driver refused to pull over, stopping only when his vehicle hit a street sign at Seventh Avenue and Holladay Drive.

The man jumped out and ran off, leaving a weapon believed to have been used in the shooting in the car.

As Seaside officers combed the city, Cannon Beach police, a Clatsop County sheriff's deputy with his tracking dog and two Oregon State Police troopers joined in the chase.

Officers learned the man, identified as Brewer, had fled into his residence at 830 Seventh Ave. His fiancee informed police that her two children were inside.

Chief Gross said getting the children out took a long time. Officers tried telephoning the house, but no one would answer.

"We ended up knocking on the door in what we call a high-risk contact," Gross said. "Ultimately one of the girls came to the door and got the other one to come to the door."

Two officers searched the house, but Brewer was not inside. "He'd gotten in and out before we got there," the chief said.

Next the police received a phone call from a citizen that Brewer might be in the area of Sixth Avenue and Roosevelt Drive.

Five officers half-walked, half-ran to the area; one of them saw the suspected gunman.

Brewer was ordered to the ground.

Gross, who arrived on the scene as Brewer was being cuffed, said the man was cooperative, "but I would be too if I had guns pointed at me."

Brewer was taken into custody at 2:24 a.m. and as The Daily Astorian went to press was still in the Seaside holding facility waiting for transport to the Clatsop County Jail. He has been charged with two counts of attempted murder, two counts of first-degree assault and unlawful use of a weapon.

Fritzie, 39, who is from Tigard, was stabilized by emergency room staff at Seaside Providence Hospital and transported to Legacy Emanuel Hospital in Portland, where he was treated and released. Gross said both men were in the area for work purposes. Dejoode, 31, is from Hillsboro.