You'll often hear people complaining that a prison sentence just isn't long enough when a serious crime has been committed. As you'll know from reading our court reports, sentences for the same crime can often differ.

A judge or magistrate will look at the facts and consider the harm done and how blameworthy the offender is. It's up to them how much weight to give each factor, while working within a set of guidelines.

They'll consider aggravating factors, for example if that person wrongly blamed others, or whether they need to reduce sentences for pleading guilty. Every offence has its own starting point and maximum sentence - and it's the latter that we've based this quiz upon.

Take our quiz below to find out how hefty a penalty you could face for breaking the law. You can also open the quiz on this link. And if you want to stay up to date with the latest Welsh court news, then sign up for Crime and Punishment newsletter.

If you love quizzes, then we have plenty more. Only people who went to school in Wales will pass this quiz, see if you can tell the difference between Wales and abroad, and if you're a big Welsh stereotype. Try our Welsh geography quiz, find out which Gavin and Stacey character you are, and take our Welsh citizenship test.