In the Heian Period (794-1185) most Japanese homes had dirt floors with straw mats. The wealthy, however, had wooden floors, and tatami was used for seating. By the Muromachi Period (1336-1573), the use of tatami had become more widespread and by now whole rooms would be covered in tatami. By the late 17th century the use of tatami had spread to many commoners' houses.