What started on Saturday with a man walking in a Germantown park with his dog and his machete turned into a 16-hour standoff with police.

Around 9 a.m., the man allegedly swung the machete at a passerby, said Sgt. Ray Evers, a police spokesman.

When police responded, the man, who was not identified, ran to his home on Price Street near McMahon and barricaded himself inside, Evers said.

The man fired four shots during the standoff, one of which was fired out a window directly at police, Evers said.

It was unclear if the three other shots were fired inside the home or out a window at officers, Evers said.

No officers were injured.

Police returned fire once, Evers said, but the suspect was not harmed.

The man finally surrendered around 1:40 a.m. yesterday, after 16 hours, and was charged with assault on police and other offenses, Evers said.

The April 4 ambush killing of three Pittsburgh officers was still fresh in their minds when police responded, Evers said.

But "the right call was made and everyone did a great job," he said. "It's just one of those things you have to wait out. He sure cost the city a lot of money, though." *