Cuneiform writing was most probably invented in Uruk in southern Mesopotamia (modern Iraq) about 3400 - 3300 BCE (Glassner 2003:45). It was invented to keep records of goods and services, and the language that was recorded was, as far as we can tell, Sumerian. The cuneiform script was later adopted by other people speaking languages as different as Akkadian, a Semitic language, and Hittite, an Indo-European language. Sumerian itself is, as far as we know, not related to any other living language. It is a language isolate.
Read More about ETCLS Cuneiform