32-year-old Charles Porter was convicted of attempted aggravated sexual abuse and abusive sexual content in April.
In April of 2020, Porter entered a cabin in the employee housing area of the national park.
Man found guilty for attempted sexual assault in cabin at Yosemite National Park
He then tried sexually assaulting a man who was sleeping.
The victim started fighting back and was able to call for help. Neighbors rushed in and removed Porter.
He's was facing a possible life sentence and a $250,000 fine for the attack.
EDITOR'S NOTE: The video above is from a previous broadcast and will be updated.