A landlocked country, the Republic of the Niger is the largest state in West Africa, with an area of 1,267,000 sq km (489,191 sq mi), extending 1,845 km (1,146 mi) ENE-WSW and 1,025 km (637 mi) NNW-SSE . Comparatively, the area occupied by Niger is slightly less than twice the size of the state of Texas. Bordered on the N by Libya, on the E by Chad, on the S by Nigeria, on the SW by Benin and Burkina Faso, on the W by Mali, and on the NW by Algeria, Niger has a total boundary length of 5,697 km (3,540 mi). Niger's capital city, Niamey, is located in the southwestern part of the country.