Where Did the Term «Kurultai» Come From?

The word «kurultai» is used in Turkic and Mongolian languages and is a synonym for parliament. When did this concept first appear? What was the institution of the Kurultai?