Writing originated in ancient Mesopotamia, ....... it was first used for keeping records and accounts.