• BREAKING NEWS ABC shows live and on-demand -- Download the WATCH ABC app!

OTRC: Sandra Bullock home burglary: Man pleads not guilty to stalking

Left: Actress Sandra Bullock appears in this undated file photo. Right: Joshua James Corbett, who is accused of stalking Bullock, appears in court on June 10, 2014.

A man accused of stalking Sandra Bullock and breaking into her home in West Los Angeles has pleaded not guilty.

Joshua James Corbett, 39, allegedly climbed a fence and broke into the actress' home around 5 a.m. on Sunday. Bullock was home at the time, authorities said.

Corbett was charged with one felony count each of first-degree residential burglary, stalking and possession of a machine gun. He didn't have the gun on him at the time of the break-in, officials said.

The judge set bail at $185,000 and ordered Corbett to stay 200 yards away from the actress.

If convicted, Corbett faces a maximum sentence of seven years, four months in state prison.

(Copyright ©2018 OnTheRedCarpet.com. All Rights Reserved.)