It was saved from total destruction only to end up, ignominiously, as a state prison.
It ended up as a prison.