At the end of their legal education at university, all law students must pass a state examination before they can continue on to an apprenticeship that provides them with broad training in the legal profession over two years. They then must pass a second state examination that qualifies them to practice law. After the second exam a person must choose either to be a lawyer or to be a judge.