Sandra Bullock’s frantic 911 call was played in court Thursday as her alleged stalker was ordered to stand trial.

Sheer panic can be heard in the Oscar winner’s voice as she tells a 911 dispatcher that she has barricaded herself in the closet of her bedroom.

“I hear them, I hear someone banging on the door,” she says on the 911 call.

Joshua James Corbett, 39, faces 26 felony counts in connection with the break-in last June. Authorities say Corbett broke into Bullock’s house in the middle of the night. The actress saw the suspect walking through her house and ran to her bedroom, where she locked herself in the closet and called 911.

Authorities arrived within minutes to find Corbett clutching a love letter, which a detective read aloud in court yesterday.

“As you are my wife by law, the law of God, and you belong to me and me to you,” she read.

Police found illegal weapons and duct tape at Corbett’s home, although they say he was unarmed when he broke into Bullock’s house.

Corbett is due back in court April 23.

Listen to the audio call below via TMZ:

TRENDING on Fox News Insider:

'I Want Justice': Alleged Navy SEAL Impersonator Arrested in Puerto Rico

You Might Not Be Able to Buy Firearms, Ammo From Walmart Soon

Good Samaritan Saves Family From Flaming RV