What families rose to power in the 6th century