Why is it called the bar?

Why is it called the bar? The term dates back to medieval times, when courtrooms were built with a physical barrier that separated the judge, lawyers, and criminals or parties to the case from the public or others in the courtroom.

The term dates back to medieval times, when courtrooms were built with a physical barrier that separated the judge, lawyers, and criminals or parties to the case from the public or others in the courtroom.