6th -9th century