Actress Jennifer Lopez no longer has the protection of a restraining order against an alleged stalker, E! reports.

The temporary restraining order expired Tuesday, at which time a judge dismissed her case because there was a lack of prosecution.

advertisement | advertise on newsday

Earlier this month, attorneys for the “Shades of Blue” star had obtained the order against the alleged stalker, Tim McLanahan, 64, of Washington State after he was arrested for visiting her Los Angeles mansion without permission.

The order forbade him from going within 100 yards of Lopez, 47, and her 8-year-old twins, Max and Emme.

Neither McLanahan nor Lopez’s rep would comment on the case.