Although the site of Tokyo has been inhabited since prehistoric times, the first recorded mention of a settlement is a twelfth-century reference to an obscure village called Edo, meaning "Gate of the Inlet," situated where the Sumida River empties into Tokyo Bay.