Which of the following contributions can be attributed to Mesopotamia?
(A) they built the first pyramid
(B) they perfected methods of warfare
(C) they created democratic system
(D) they invented the first written language