TMZ -- The intruder arrested inside Sandra Bullock's home came face-to-face with her ... right outside her bedroom ... TMZ has learned.
We've obtained the search warrant allowing cops to search for an arsenal of weapons owned by Joshua Corbett. TMZ broke the story ... cops found 7 guns at Corbett's home -- including assault rifles -- but they believe more are out there.
The search warrant outlines a chilling confrontation between Bullock and Corbett. At 1 AM she hears a loud banging inside the house. Bullock goes to her bedroom door to close and lock it and she sees Corbett right there in the hallway wearing dark clothing.
Bullock slams the door shut, locks it and calls 911. She told cops she had showered before going to bed, so he may have been there the whole time.
When the cops arrived, Corbett began screaming, "
Corbett was carrying a notebook with cut-out magazine pics of Bullock and multiple, handwritten notes. One of the notes said, "I will forever be thinking of you and Louie, my son, as you are my wife by law, the law of God and you belong to me and me to you."
Corbett also forgives Bullock for "anything you may have done" and then tries to compliment her, writing Bullock is "hot and intelligent, lissome and taught [sic]."
View more at TMZ.
Copyright 2016 Nexstar Broadcasting, Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.