Nagasaki was founded by the Portuguese in the late 16th century. During the Edo period, Nagasaki was the only port in which trade with other countries was permitted because of the national isolation policy ("sakoku").