Some Japanese historians trace ryokans back to Buddhist free rest houses that proliferated during the Nara era about 1,300 years ago. Others link them to roadside inns that were rest stops for merchants and growers traveling to central markets in major cities. During the Edo era (1603–1868), ryokans were a lodging of choice for samurai, government officials, royalty and upper class travelers.