History of science and technology

Why did early states often use writing for administrative purposes?