A clerk is someone who writes. The word is derived from the Greek κληρικός (klērikos), meaning "of the clergy". Once only religious people could write, so a cleric meant a religious person.