Scholars had thought that invaders attacked the city in the 7th or 8th century , sacking and burning it .
At first , people believed that sometime in the 7th or 8th century , the city was sacked and burned by invaders .