Justin Beiber's Ex 3 Years of Protection from Machete-Wielding Man

8/19/2011 4:30 AM PDT

Bieber's Ex -- 3 Years of Protection from Machete-Wielding Man

The machete-wielding man who threatened to rape and kill Justin Bieber's ex-girlfriend Jasmine Villegas has been ordered to stay the hell away from her for the next three years ... TMZ has learned.

17-year-old Villegas -- who starred in Bieber's "Baby" video -- had already obtained a temporary restraining order against Steven Cintron after he posted several alarming YouTube videos, containing numerous violent threats.

Now, an L.A. Superior Court judge has extended the order -- requiring Cintron to stay at least 100 yards away from Villegas for the next three years. Cintron is also banned from posting any more videos about Villegas.

Hopefully, Cintron gets the message -- if he violates the order, he could wind up behind bars.