2:05 PM PT -- 10/18 -- Williams was just hit with one misdemeanor criminal trespass charge.
5:21 PM PT -- Sources with direct knowledge tell TMZ ... the man who was taken into custody is named Deandre Williams, and he wasn't able to get near Kim's immediate property thanks to the work of quick-acting security guards who nabbed him near the main community gate.
We're told Williams was able to penetrate the initial barrier and slip through community security at first -- but didn't get far due to an early detection intruder system managed by armed guards and motion detectors. Our sources say it was clear ... he was there for Kim.
We're told this is actually the third such stalking incident tied to Kim and her house ... and it was the same situation with the others as well.
Scary day for Kim Kardashian ... a would-be intruder nearly made his way into her home this weekend, but the guy was stopped just steps away from the front door.
Sources with knowledge tell TMZ ... a man was arrested Saturday around 11 AM after wandering onto Kim's Hidden Hills property unannounced and uninvited. We're told he somehow made it past her gated community entrance and found his way to Kim's mansion.
Our sources security intercepted him and actually detained him right on the grounds -- but he didn't go down easy ... we're told there was a scuffle before he was ultimately pinned.
The cops were called and the man ended up getting taken away in cuffs. Our law enforcement sources say he was booked on battery and trespassing charges. We're also told this gentleman is known to the sheriff's deputies in the area, specifically at this location ... where he's apparently been caught on surveillance video before.
Sources say the man has an infatuation with Kim, but luckily ... it didn't come to fruition today. Unclear if Kim or any of her kids were home -- but a close call either way.
It's far from the first alleged trespasser who's landed on the doorstep of a KarJenner -- it's happened to Kylie, Kendall and others in the family as well. Might be time to start building moats around these places ... seems way too easy for randos to access off the streets.