" - sure - so it's 1809 or so by now back home, and English law's had the same basic form since 1100 or so - the style, not the content of the laws enforced, that is. In broad strokes: there's a judge, there's a prosecutor whose job it is to compile evidence that the accused is guilty, and there's a defender whose job it is to compile evidence that the accused should not be found guilty. The state's not obliged to let the accused have a defender but it's gotten fashionable and will probably be mandatory soon, and it's how I planned to do it once I ruled the world. They're obliged by law to share material evidence with each other even if it doesn't help their side - so if the investigating police find footprints on the scene which don't match the defendant's foot size, they still have to tell the defender about it to make sure the defender can fashion the best possible defense.
Sometimes, of course, the evidence is decisive and the best the defender can do is coach their client on how to navigate the system to their own benefit - plead guilty to a lesser charge, say, or cooperate in exchange for a reduced sentence, or persuade the judge of the merits of a sentence less than that strictly prescribed. And often it's not in their interests to argue actual innocence, just that the state has failed to meet the burden of proof for the charges they're filing.
Rights of the accused - you have the right not to testify, and cannot be jailed for refusing to testify, though you can be convicted without your testimony if there's enough other evidence. You have the right to face your accuser - so any witnesses can't just send in a statement, they have to testify and answer questions from the state and from the defense in court. In the colonies you have the right to have the case adjudicated not by a judge but by a pool of your peers."