He was attempting to break down my door. According to the castle doctrine, I could have defended myself in that instance if he would have made it across the threshold. I had my weapon at the ready when he opened my front door without permission. Then he retreated. I called the cops and reported it. Filed a report. The cop said I did everything right.