I could be missing some stuff because it really was a lot, but IIRC this was the basic sequence of events. Andy started this saga in a crack shack on the taxpayer's dime, he had no rent, a food allowance, and daily care. Andy did what Andy does and antagonized every caregiver and care agency that came through his shack until there was nobody left. He pulled all kinds of extreme bullshit, like 'wunnaway' the moment a caregiver's back was turned and posting AI diddy shit that caught him a visit from an actual detective. He burned every bridge available to him until all the care agencies that could have worked with him refused. Finding himself alone with nobody to wipe his ass or sit through his torment, he cancelled his community care waiver and tried to get onto a consolidated waiver. The consolidated waiver is intended for a lower level of independence, so he didn't qualify for it. That left him with no level of independent care, which landed him in Correy Manor, a nursing and rehab facility. While at that facility, he threw a massive shit-fit that earned him an involuntary psychiatric hold at St. Vincent's, a local hospital. He was shuffled around that hospital between different locked wards that allowed him less and less independence. His electronic devices were locked away from him, he was fitted with an RFID bracelet that locked doors as he approched them to prevent him from escaping, and he was likely being treated by staff who were instructed to never feed into his baby games and delusions. That escalated to the latest incident, which initially got him a slap on the wrist from the hospital police force, which was then dropped so that it could be replaced with his current felony charge.