Complex sentence: However, Nan's attitude had changed when she was railroaded to prison, and when she is released, she wants nothing more to do with the mob.
Split into simpler sentences: However, Nan's attitude had changed when she was railroaded to prison. When Nan is released, having served her term, she wants nothing more to do with the mob.