JAILBREAK

Pick the key off of the guard.  You have to get it a split second before you can really see it, just before he walks past the door.  Go out of your cell area, turn left and go to the wall at the end of the hallway. Just to the right is an unlit torch you can frob. It opens the secret door in the wall. Go into the secret room and walk to the back past all the junk, turn right and follow the passage past the ladder and right to the part where the wall has broken down.  Just past the rubble is a secret button. Push it.  Go back to the secret room, open the sewer hatch and climb down the ladder.  Find another hatch that opens and climb up into the torture room.  Your sword is in here. Then go to cell block 10, the second cell on the right. Inside is a secret door you opened when you pushed the button. Inside on your right is a tool box containing your blackjack. Go back to the secret room, along the passageway at the back to the ladder and climb it. Turn left out of the cell area. In here a coathook on the wall lights up. Frob it to open a secret door. Go through the secret door, out into a cell area, out of this area turn right, then left, then right into a cell area. There is a secret door in the first cell on the right with a ladder upstairs and and invisibility potion.  There is a drunk guard at the top of the ladder.On the top floor go to the office.  There is an office key behind a banner in the Guard station. Just past the guard station, on the right is a sitting room, with a storage room off of it (contains secret passage). Climb on the crates and look for a wall niche. Down inside of it it a safe key (Its very hard to see). Go back to the hallway and into Truarts office. Slash the banner behind the desk to get his jewelled sword. Use the key from the storage room to open the safe.  Inside is an unlabelled key that opens the shrine in cell 12E downstairs.  Go back down to the first floor to cell block 12 and go to the middle cell on the back wall.  Use the key to open the door, then flip the wall switch to your right.  It moves the bed and exposes a hole in the floor.  Climb down the ladder and get the silver gear.  Then go back up to the office floor and go into the sitting room and out the north door into an entry hall.  Go out the door and pick a key from one of the guards. That opens the gate. Exit the gate to end the mission.