Pounded by nails without remorse,
Though guilty of no crime,
My doom is to be hung.
My maker set me on this course.
When the bells of the tower chime,
That's when I'll be swung.
For the sense of their security
My fate the city chose.
Then people on both sides will see
I'm strongest at the close.
What am I?