Lawful Advice

So Pit,I went out last night with a friend of mine. We were going to a basketball game. Long story short, we got in an accident. She hasn't had her license for very long, so she couldn't legally be driving me. With this fact in mind, I left the scene of the accident, so she wouldn't get in more trouble than she was already in. Tell me Pit, is leaving the scene of an accident when you are not the one who caused/are in it, a criminal offence? Also, post accident related stories.