The guy who rammed Kylie Jenner's security gate just copped a plea deal, but he's still getting some time behind bars ... TMZ has learned.
According to court docs, the Kyliegate perp was sentenced to 10 days in L.A. County Jail after pleading no contest to vandalism. He got credit for 4 days, and he's already started serving the other 6. He'll also be on probation for 12 months.
We broke the story ... Kylie had a determined admirer who crashed his car into her security gate at The Oaks -- the Calabasas gated community where she lives. Actually, make that LIVED.