Guinea (/ˈɡɪni/(listen)), officially the Republic of Guinea (French: République de Guinée), is a west-coastal country in West Africa. Formerly known as French Guinea (French: Guinée française), the modern country is sometimes referred to as Guinea-Conakry to distinguish it from other countries with "Guinea" in the name and the eponymous region, such as Guinea-Bissau and Equatorial Guinea. The sovereign state of Guinea is a republic with a president who is directly elected by the people; this position is both head of state and head of government. The unicameral Guinean National Assembly is the legislative body of the country, and its members are also directly elected by the people. The judicial branch is led by the Guinea Supreme Court, the highest and final court of appeal in the country. Guinea is a predominantly Islamic country, with Muslims representing 85 percent of the population. Guinea's people belong to twenty-four ethnic groups. French, the official language of Guinea, is the main language of communication in schools, in government administration, and the media, but more than twenty-four indigenous languages are also spoken. Guinea's economy is largely dependent on agriculture and mineral production. It is the world's second largest producer of bauxite, and has rich deposits of diamonds and gold.