Dog attacks

I was attacked by a very large German Shepard. He broke free from a backyard next to a church I was doing cement work at.
I saw the dog coming and grabbed a large push broom. That dog was really vicious, the dog tried to back me up and attack. I fought him with that broom, pushing that room in his face prevented him (male) but didn't stop him from trying to get to me
I was much younger and a lot stronger back than and although I was nervous I wasn't afraid, I didnt have time to think about being afraid. The more aggressive I got towards that animal the more I kept him away from me. It was him or me and it wasnt going to be me.
All this time I was looking for a weapon to kill that dog.
What was seconds seemed like forever until the owner called him off.
Years back two pits broke out of their pens and attacked a elderly man. A WW2 vet who saw combat
The dogs ripped him up bad. My guy from my neighbourhood I know well served in V.N and saw action.
He worked in the hospital as a Xray tech, he saw the old man when they brought him in
He told me the wounds on this elders vet were as horrific as what he saw in Viet Nam
The old guy died as a result of that attack
The dog owner was arrested and prosecuted, I believe did some jail time as well
My cousin lives across the country, she was on the phone with me recently as she walked her little dog. She went past some white trash POS and their large dog attacked her dog
All I heard was barking screaming and my cousin yelling words I never heard her use before
She is as sweet as they come until a line is crossed
Mind you I'm 2000 mikes away
Im in a panic and was going to call 911 and see if I can get transferred to her 911 to call LEO's
Luckily it ended with no injuries
I told her, you want to walk in rural areas, you live in a right to carry. Protect yourself. Stay away from that area