A jirga is an assembly of leaders that makes decisions by consensus according to Pashtunwali, the Pashtun social code. It is conducted in order to settle disputes among the Pashtuns, but also by members of other ethnic groups who are influenced by them in present-day Afghanistan and Pakistan.
Historically, a loya jirga or a "great council" has been convened in order to elect a new head of state, approve a new constitution or resolve critical issues. Loya jirgas have reportedly been organized since the rise to power of the Hotak dynasty in the early 18th century.