Topzle Topzle

Benin

Updated: Wikipedia source

Benin

Benin, officially the Republic of Benin, formerly known as Dahomey, is a country in West Africa. Benin is bordered by Togo to the west, Nigeria to the east, Burkina Faso to the north-west, and Niger to the north-east. The majority of its population lives on the southern coastline of the Bight of Benin, part of the Gulf of Guinea in the northernmost tropical portion of the Atlantic Ocean. The capital is Porto-Novo, and the seat of government is in Cotonou, the most populous city and economic capital. Benin covers an area of 112,622 km2 (43,484 sq mi), and its population in 2021 was estimated to be approximately 13 million. It is a tropical country with an economy heavily dependent on agriculture and the exports of palm oil and cotton. From the 17th to the 19th centuries, political entities in the area included the Kingdom of Dahomey, the city-state of Porto Novo, and other states to the north. France took over the territory in 1894, incorporating it into French West Africa as French Dahomey. In 1960, Dahomey gained full independence from France. As a sovereign state, Benin has had democratic governments, military coups, and military governments. A self-described Marxist–Leninist state called the People's Republic of Benin existed between 1975 and 1990. In 1991, it was replaced by the multi-party Republic of Benin. The official language of Benin is French, with indigenous languages such as Fon, Bariba, Yoruba and Dendi also spoken. The largest religious group in Benin, as projected for 2020 by Pew Research Group based on 2010 statistics, is Christianity (52.2%), followed by Islam (24.6%) and African traditional religions (17.9%). Benin is a member of the United Nations, the African Union, the Economic Community of West African States, the Organisation of Islamic Cooperation, the South Atlantic Peace and Cooperation Zone, Francophonie, the Community of Sahel–Saharan States, the African Petroleum Producers Association and the Niger Basin Authority.

Infobox

Capital
Porto-Novo
Largest city
Cotonou
Official languages
French
National languages
mw- List: Arabic English Aguna Aja Alada Fon Gbe Gen Gun Pherá Phla Tofin Tɔli Waci Berba Kabye Lama Lukpa Mbelime Mossi Nateni Ngangam Tammari Tem Waama Yom Kwa Chakosi Foodo Ede Ifè Mokole Yoruba Yoruboid Bariba Dendi Fula Hausa
Ethnic groups (2020)
38.4% Fon15.1% Adja and Mina12% Yoruba9.6% Bariba8.6% Fula6.1% Ottamari4.3% Yoa-Lokpa2.9% Dendi2.8% other
Religion (2020)
52.2% Christianity24.6% Islam17.9% traditional faiths5.2% no religion0.1% other
Demonyms
mw- .inline, .inline dl, .inline ol, .inline ul, dl dl, dl ol, dl ul, ol dl, ol ol dd dd dd , dd dt , dd li , dt dd , dt dt , dt li , li dd dd dd , dd dt , dd li , dt dd , dt dt , dt li , li dd dd ol li Beninese Beninoise
Government
Unitary presidential republic
• President
Patrice Talon
• Vice President
Mariam Chabi Talata
Legislature
National Assembly
• Republic of Dahomey established within the French Community
11 December 1958
• Independence
1 August 1960
• Total
$19.940 billion (141st)
• Water (%)
0.4%
• 2022 estimate
13,754,688 (77th)
• Density
94.8/km2 (245.5/sq mi)
GDP (PPP)
2023 estimate
• Per capita
$1,449 (163rd)
GDP (nominal)
2023 estimate
Gini (2021)
34.4 } }medium inequality
HDI (2023)
0.515low (173rd)
Currency
West African CFA franc (XOF)
Time zone
UTC 1 (WAT)
Date format
dd/mm/yyyy
Calling code
229
ISO 3166 code
BJ
Internet TLD
bj
Ethnic groups (2013)
38.4% Fon15.1% Adja and Mina12% Yoruba9.6% Bariba8.6% Fula6.1% Ottamari4.3% Yoa-Lokpa2.9% Dendi2.8% other

Tables

· Government and politics › Administrative divisions
2
2
Map key
2
Department
Alibori
Capital
Kandi
Population (2013)
868,046
Area (km2)
26,242
Population density (per km2 in 2013)
33.1
FormerDepartment
Borgou
Region
North
Sub-Region
North East
1
1
Map key
1
Department
Atakora
Capital
Natitingou
Population (2013)
769,337
Area (km2)
20,499
Population density (per km2 in 2013)
37.5
FormerDepartment
Atakora
Region
North
Sub-Region
North West
10
10
Map key
10
Department
Atlantique
Capital
Allada
Population (2013)
1,396,548
Area (km2)
3,233
Population density (per km2 in 2013)
432
FormerDepartment
Atlantique
Region
South
Sub-Region
South Centre
4
4
Map key
4
Department
Borgou
Capital
Parakou
Population (2013)
1,202,095
Area (km2)
25,856
Population density (per km2 in 2013)
46.5
FormerDepartment
Borgou
Region
North
Sub-Region
North East
5
5
Map key
5
Department
Collines
Capital
Dassa-Zoumé
Population (2013)
716,558
Area (km2)
13,931
Population density (per km2 in 2013)
51.4
FormerDepartment
Zou
Region
South
Sub-Region
South Centre
6
6
Map key
6
Department
Kouffo
Capital
Aplahoué
Population (2013)
741,895
Area (km2)
2,404
Population density (per km2 in 2013)
308.6
FormerDepartment
Mono
Region
South
Sub-Region
South West
3
3
Map key
3
Department
Donga
Capital
Djougou
Population (2013)
542,605
Area (km2)
11,126
Population density (per km2 in 2013)
48.8
FormerDepartment
Atakora
Region
North
Sub-Region
North West
11
11
Map key
11
Department
Littoral
Capital
Cotonou
Population (2013)
678,874
Area (km2)
79
Population density (per km2 in 2013)
8,593.3
FormerDepartment
Atlantique
Region
South
Sub-Region
South Centre
9
9
Map key
9
Department
Mono
Capital
Lokossa
Population (2013)
495,307
Area (km2)
1,605
Population density (per km2 in 2013)
308.6
FormerDepartment
Mono
Region
South
Sub-Region
South West
12
12
Map key
12
Department
Ouémé
Capital
Porto-Novo
Population (2013)
1,096,850
Area (km2)
1,281
Population density (per km2 in 2013)
856.2
FormerDepartment
Ouémé
Region
South
Sub-Region
South East
8
8
Map key
8
Department
Plateau
Capital
Pobè
Population (2013)
624,146
Area (km2)
3,264
Population density (per km2 in 2013)
191.2
FormerDepartment
Ouémé
Region
South
Sub-Region
South East
7
7
Map key
7
Department
Zou
Capital
Abomey
Population (2013)
851,623
Area (km2)
5,243
Population density (per km2 in 2013)
162.4
FormerDepartment
Zou
Region
South
Sub-Region
South Centre
Map key
Department
Capital
Population (2013)
Area (km2)
Population density (per km2 in 2013)
FormerDepartment
Region
Sub-Region
2
Alibori
Kandi
868,046
26,242
33.1
Borgou
North
North East
1
Atakora
Natitingou
769,337
20,499
37.5
Atakora
North
North West
10
Atlantique
Allada
1,396,548
3,233
432
Atlantique
South
South Centre
4
Borgou
Parakou
1,202,095
25,856
46.5
Borgou
North
North East
5
Collines
Dassa-Zoumé
716,558
13,931
51.4
Zou
South
South Centre
6
Kouffo
Aplahoué
741,895
2,404
308.6
Mono
South
South West
3
Donga
Djougou
542,605
11,126
48.8
Atakora
North
North West
11
Littoral
Cotonou
678,874
79
8,593.3
Atlantique
South
South Centre
9
Mono
Lokossa
495,307
1,605
308.6
Mono
South
South West
12
Ouémé
Porto-Novo
1,096,850
1,281
856.2
Ouémé
South
South East
8
Plateau
Pobè
624,146
3,264
191.2
Ouémé
South
South East
7
Zou
Abomey
851,623
5,243
162.4
Zou
South
South Centre
· Demographics
Year
Year
Historical population
Year
Historical population
1950
Historical population
2000
Historical population
2021
Population
Population
Historical population
Population
Historical population
2,200,000
Historical population
6,800,000
Historical population
13,000,000
±%
±%
Historical population
±%
Historical population
Historical population
+209.1%
Historical population
+91.2%
Historical population
Year
1950
2000
2021
Population
2,200,000
6,800,000
13,000,000
±%
+209.1%
+91.2%

References

  1. /bɛˈniːn/ ⓘ ben-EEN, /bɪˈniːn/ bin-EEN; French: Bénin [benɛ̃] ⓘ
  2. French: République du Bénin
  3. "Benin"
    https://www.cia.gov/the-world-factbook/countries/benin/#people-and-society
  4. www.insae-bj.org
    https://www.insae-bj.org/images/docs/insae-statistiques/enquetes-recensements/RGPH/1.RGPH_4/Indicateurs-et-Projetcions/Principaux%20Indicateurs%20projections%20Preface%20RGPH4.pdf
  5. "Religions in Benin | PEW-GRF"
    http://www.globalreligiousfutures.org/countries/benin/religious_demography#/?affiliations_religion_id=0&affiliations_year=2020
  6. Annuaire statistique 2010
    http://www.insae-bj.org/annuare-statistique.html?file=files/publications/annuel/Annuaire%20statistique%20%20INSAE%202010.pdf
  7. The World Factbook
    https://www.cia.gov/the-world-factbook/countries/benin
  8. IMF.org
    https://www.imf.org/en/Publications/WEO/weo-database/2023/October/weo-report?c=638,&s=NGDPD,PPPGDP,NGDPDPC,PPPPC,&sy=2020&ey=2028&ssm=0&scsm=1&scc=0&ssd=1&ssc=0&sic=0&sort=country&ds=.&br=1
  9. "World Bank Open Data"
    https://data.worldbank.org/indicator/SI.POV.GINI?name_desc=false
  10. "Human Development Report 2023/2024"
    https://hdr.undp.org/data-center/specific-country-data#/countries/BEN
  11. Cambridge English Pronouncing Dictionary
  12. The New York Times
    https://www.nytimes.com/1975/12/01/archives/dahomey-announces-its-name-will-be-benin.html
  13. A Directory of African Wetlands
    https://books.google.com/books?id=VLjafeXa3gMC
  14. Environment and Urbanization
    https://doi.org/10.1177%2F0956247807077149
  15. "World Population Prospects 2022"
    https://population.un.org/wpp/
  16. "World Population Prospects 2022: Demographic indicators by region, subregion and country, annually for 1950–2100"
    https://population.un.org/wpp/Download/Files/1_Indicators%20(Standard)/EXCEL_FILES/1_General/WPP2022_GEN_F01_DEMOGRAPHIC_INDICATORS_COMPACT_REV1.xlsx
  17. Food and Agriculture Organization of the United Nations
    https://web.archive.org/web/20121024021730/http://www.fao.org/isfp/country-information/benin/en/
  18. Arise IIP
    https://www.ariseiip.com/homepage/major-industries-in-benin/
  19. Global Logistics Assessments Reports Handbook
  20. Wives of the Leopard: Gender, Politics, and Culture in the Kingdom of Dahomey
  21. Dahomey and Its Neighbors: 1708–1818
    https://search.worldcat.org/oclc/469476592
  22. The Journal of African History
    https://doi.org/10.1017%2Fs0021853700036665
  23. Party Politics
    https://zenodo.org/record/897004
  24. The Diligent: A Voyage Through the Worlds of the Slave Trade
    https://books.google.com/books?id=0YILMba_EnoC
  25. Amazons of Black Sparta: The Women Warriors of Dahomey
    https://books.google.com/books?id=Fdtg4e5_WoIC
  26. Fox News
    https://www.foxnews.com/story/african-ambassador-apologizes-for-slavery-role
  27. The story of South Africa: Slavery
    https://www.bbc.co.uk/worldservice/africa/features/storyofafrica/9chapter2.shtml
  28. Slavery, Colonialism and Economic Growth in Dahomey, 1640–1960
  29. National Geographic Society
    https://web.archive.org/web/20210209201911/https://www.nationalgeographic.com/history/magazine/2021/01-02/ivory-saltcellar-reveals-colonial-power-dynamic-benin-portugal/
  30. Benin and the Europeans 1485–1897
  31. Agence de Presse Africane
    http://apanews.net/en/news/president-sirleaf-congratulates-benin-on-57th-independence-anniversary
  32. Encyclopedia of the Peoples of Africa and the Middle East: L to Z
    https://books.google.com/books?id=gaFvrgEACAAJ
  33. Public Memory of Slavery: Victims and Perpetrators in the South Atlantic
    https://books.google.com/books?id=kymzngEACAAJ
  34. Political Handbook of the World 2012
    https://books.google.com/books?id=d33MfEFXvW8C
  35. Africa 2012
    https://archive.org/details/africa20120000dick/page/69
  36. Historical Dictionary of Benin
    https://books.google.com/books?id=0yGPTsRubWEC&pg=PR33
  37. "Bénin, analyse du pays de 1982 a 1997"
    https://web.archive.org/web/20210304083636/http://afriquepluriel.ruwenzori.net/benin1.htm
  38. Benin
    https://archive.org/details/benin0000knei/page/22
  39. "A Short History of the People's Republic of Benin (1974–1990)"
    http://www.socialist.net/history-people-s-republic-of-benin.htm
  40. "Benin"
    https://web.archive.org/web/20100612012647/http://flagspot.net/flags/bj.html
  41. The New York Times
    https://www.nytimes.com/1991/03/26/world/official-result-in-benin-vote-shows-big-loss-for-kerekou.html
  42. www.afrol.com
    http://www.afrol.com/News2001/ben007_kerekou_wins.htm
  43. The New York Times
    https://web.archive.org/web/20170307174002/http://www.nytimes.com/2010/04/23/opinion/23gates.html?pagewanted=all
  44. The New Humanitarian
    https://www.thenewhumanitarian.org/fr/node/225956
  45. ABC News
    https://www.abc.net.au/news/2006-03-23/boni-wins-benin-presidential-election-official/825650
  46. "Celebration As Boni Takes Over"
    https://allafrica.com/stories/200604070127.html
  47. Reuters
    https://www.reuters.com/article/benin-election-idAFLDE72K0KE20110321
  48. Reuters
    https://www.reuters.com/article/us-benin-election-idUSKCN0X31QO
  49. Reuters
    https://www.reuters.com/article/us-benin-election-idUSKCN0WS08X
  50. ABC News
    https://abcnews.go.com/International/wireStory/benins-president-wins-election-preliminary-results-77053903
  51. Al Jazeera
    https://www.aljazeera.com/news/2021/4/11/vote-counting-in-benin-after-election-marked-by-violent-protests
  52. Yahoo News
    https://news.yahoo.com/five-rangers-soldier-killed-attack-203717334.html
  53. Le Monde.fr
    https://www.lemonde.fr/afrique/article/2022/02/21/regardez-la-puissance-de-ces-objets-le-benin-expose-les-vingt-six-uvres-restituees-par-la-france_6114618_3212.html
  54. "Il Benin riconosce i capi tradizionali"
    https://www.africarivista.it/il-benin-riconosce-i-capi-tradizionali/263599/
  55. www.bbc.com
    https://www.bbc.com/news/articles/cgm2vvmdy28o
  56. Al Jazeera
    https://www.aljazeera.com/news/liveblog/2025/12/7/benin-attempt-coup-live-soldiers-on-state-tv-claim-to-have-toppled-talon
  57. BioScience
    https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5451287
  58. Nature Communications
    https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7723057
  59. www.adaptation-undp.org
    https://www.adaptation-undp.org/explore/western-africa/benin
  60. Netherlands Commission for Environmental Assessment
    https://ees.kuleuven.be/klimos/toolkit/documents/684_CC_benin.pdf
  61. "Background Note: Benin"
    https://2009-2017.state.gov/r/pa/ei/bgn/6761.htm
  62. PLOS ONE
    https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3885426
  63. GlobalTwitcher
    https://web.archive.org/web/20101209234758/http://globaltwitcher.auderis.se/artspec_information.asp?thingid=35993
  64. Terms and Definitions FRA 2025 Forest Resources Assessment, Working Paper 194
    https://openknowledge.fao.org/server/api/core/bitstreams/a6e225da-4a31-4e06-818d-ca3aeadfd635/content
  65. Food Agriculture Organization of the United Nations
    https://fra-data.fao.org/assessments/fra/2020/BEN/home/overview
  66. The Economist
    https://www.economist.com/middle-east-and-africa/2021/04/10/benins-democratic-beacon-dims
  67. "2014 Ibrahim Index of African Governance (IIAG)"
    https://web.archive.org/web/20130530015728/http://www.moibrahimfoundation.org/interact/
  68. nationmaster.com
    http://www.nationmaster.com/graph/gov_cor-government-corruption
  69. Freedom House
    https://freedomhouse.org/country/benin/freedom-world/2021
  70. Millennium Challenge Corporation
    https://www.mcc.gov/news-and-events/release/press-release-121521-board-selects-belize-zambia
  71. La Nouvelle Tribune
    https://lanouvelletribune.info/2021/12/recul-de-la-democratie-les-etats-unis-sanctionnent-le-benin-a-travers-le-mcc/
  72. Foreign Policy
    https://foreignpolicy.com/2021/04/08/benin-election-democracy-sham-patrice-talon/
  73. "Benin interior minister says military coup attempt foiled by loyalist troops"
    https://www.euronews.com/2025/12/07/benin-interior-minister-says-military-coup-attempt-foiled-by-loyalist-troops?utm_source=chatgpt.com
  74. "Has Benin's foiled coup made ECOWAS a West African heavyweight once more?"
    https://www.aljazeera.com/features/2025/12/16/has-benins-foiled-coup-made-ecowas-a-west-african-heavyweight-once-more
  75. Statoids – Benin
    https://www.statoids.org/en/bj/admin-levels/l1/map/benin/departements
  76. Communiqué du Conseil des Ministres du 22 Juin 2016 | Portail Officiel du Gouvernement Béninois Archived 2019-01-25 at t
    http://gouv.bj/communique-du-conseil-des-ministres-du-22-juin-2016/
  77. Bénin : liste des 12 nouveaux préfets et des chefs-lieux de départements Archived 2016-11-20 at the Wayback Machine. Lan
    http://www.lanouvelletribune.info/benin/politique/29267-liste-12-prefets-et-chefs-lieux
  78. Benin Archived 2016-08-28 at the Wayback Machine. Geohive.com. Retrieved on 2017-01-02.
    http://www.geohive.com/cntry/benin.aspx
  79. Britannica
    https://www.britannica.com/place/Benin/Plant-and-animal-life#ref55069
  80. www.citypopulation.de
    http://citypopulation.de/Benin-Cities.html
  81. www.cia.gov
    https://www.cia.gov/the-world-factbook/countries/benin/
  82. Pew Research Center's Religion & Public Life Project
    https://www.pewresearch.org/religion/2015/04/02/religious-projections-2010-2050/
  83. Pew Research Center's Religion & Public Life Project
    https://www.pewresearch.org/religion/2014/04/04/global-religious-diversity/
  84. "Benin"
    https://www.state.gov/reports/2022-report-on-international-religious-freedom/benin/
  85. International Religious Freedom Report 2007: Benin Archived 29 July 2019 at the Wayback Machine . United States Bureau o
    https://2001-2009.state.gov/g/drl/rls/irf/2007/90082.htm
  86. "Enquête Démographique et de Santé (EDSB-IV) 2011–2012"
    https://dhsprogram.com/pubs/pdf/FR270/FR270.pdf
  87. United States Department of State
    https://www.state.gov/reports/2021-report-on-international-religious-freedom/benin/
  88. Archaeology Magazine
    https://archaeology.org/issues/september-october-2018/off-the-grid/trenches-benin-ouidah/
  89. Country Reports on Human Rights Practices
    https://2001-2009.state.gov/g/drl/rls/hrrpt/2000/af/861.htm
  90. "Benin"
    http://www.unesco.org/new/en/unesco/worldwide/africa/benin/
  91. West Africa. In: UNESCO Science Report: towards 2030
    http://unesdoc.unesco.org/images/0023/002354/235406e.pdf
  92. The World Factbook
    https://web.archive.org/web/20141221190412/https://www.cia.gov/library/publications/the-world-factbook/rankorder/2155rank.html
  93. malaria.com
    http://www.malaria.com/featured/malaria-beni
  94. "Bamako Initiative revitalizes primary health care in Benin"
    https://web.archive.org/web/20070106133809/http://www.who.int/inf-new/child6.htm
  95. The World Factbook
    https://web.archive.org/web/20150418113820/https://www.cia.gov/library/publications/the-world-factbook/rankorder/2223rank.html
  96. Female Genital Mutilation/Cutting: A statistical overview and exploration of the dynamics of change
    https://web.archive.org/web/20150405083031/http://www.unicef.org/media/files/FGCM_Lo_res.pdf
  97. Int J Health Plann Manage
    https://doi.org/10.1002%2F%28SICI%291099-1751%28199706%2912%3A1%2B%3CS29%3A%3AAID-HPM465%3E3.0.CO%3B2-U
  98. The DHS Program
    https://dhsprogram.com/Countries/Country-Main.cfm?ctry_id=52
  99. Global Hunger Index
    https://www.globalhungerindex.org/ranking.html
  100. Making Finance Work for Africa
    https://www.mfw4a.org/country/benin
  101. www.privacyshield.gov
    https://www.privacyshield.gov/article?id=Benin-Market-Overview
  102. "Country Trends"
    http://data.footprintnetwork.org/#/countryTrends?cn=53&type=BCpc,EFCpc
  103. Resources
    https://doi.org/10.3390%2Fresources7030058
  104. Millennium Challenge Corporation
    https://web.archive.org/web/20160203153130/https://assets.mcc.gov/agreements/022206_benin_compact_summary.pdf
  105. ICFTU Online
    http://www.icftu.org/displaydocument.asp?Index=991220267&Language=EN
  106. "OHADA.com: The business law portal in Africa"
    https://web.archive.org/web/20090326033744/http://www.ohada.com/index.php
  107. The World Bank
    http://www.worldbank.org/en/country/benin/overview
  108. Benin: Request for a Three-year Arrangement Under the Extended Credit Facility-Press Release; Staff Report; and Statement by the Executive Director for Benin
  109. IMI – Investment Migration Insider
    https://www.imidaily.com/africa/benin-proposes-law-to-grant-citizenship-to-african-descendants/
  110. Global Innovation Index 2024. Unlocking the Promise of Social Entrepreneurship
    https://www.wipo.int/web-publications/global-innovation-index-2024/en/
  111. www.wipo.int
    https://www.wipo.int/gii-ranking/en/benin
  112. ONE.org
    https://www.one.org/africa/press/one-applauds-au-malabo-declarations-re-commitment-to-agriculture-transformation/
  113. "Benin"
    http://aflit.arts.uwa.edu.au/CountryBeninEN.html
  114. Chapter 2. Making la Musique Moderne
    https://muse.jhu.edu/pub/166/oa_monograph/chapter/3770415
  115. The Art Newspaper – International art news and events
    https://www.theartnewspaper.com/2008/10/01/benin-biennials-begin-with-feuds-over-unethical-behaviour
  116. Frieze
    https://www.frieze.com/article/biennale-regard-benin-2012
  117. Encyclopaedia Britannica Online
    https://www.britannica.com/place/Akwamu
  118. Benin: Kings in northern Benin, specifically in Borgou department; extent of their power in comparison with the power of political and civil authorities; a king's ability to force a woman to marry him; remedies available to a woman who refuses to marry a king (2014 – April 2016)
    https://www.ecoi.net/en/document/1393811.html
  119. Anmwe News
    http://news.anmwe.com/monde-haiti-veut-punir-les-crimes-vaudous-comme-au-benin/
  120. RFI
    https://www.rfi.fr/fr/afrique/20250407-b%C3%A9nin-d%C3%A9bats-autour-d-une-loi-qui-interdit-aux-rois-et-chef-traditionnels-de-s-impliquer-en-politique
  121. AIMS Energy
    https://www.researchgate.net/publication/347355032
  122. The food dictator
    https://www.thefooddictator.com/hirshon-beninese-peanut-soup/
  123. "Sports in Benin | Global Sports Industry Data | Verlete Sports"
    https://www.verlete.com/country/benin/
  124. Minnesota Sun Post
    https://www.hometownsource.com/sun_post/news/local/duo-develops-nonprofit-organization-baseball-in-benin/article_6aefe8f6-a49d-56bb-ac65-6974a62faf7f.html
  125. "Beninese Teqball Federation targets nationwide engagement"
    https://www.fiteq.org/news/234
Image
Source:
Tip: Wheel or +/− to zoom, drag to pan, Esc to close.