Further back, dating to around 15,000 BC to 8000 BC, single-stringed instruments have been seen in cave paintings and murals. They were struck, plucked, and eventually bowed. From these, the families of stringed instruments developed. Single strings were long and gave a single melody line. To shorten the scale length, other strings were added with a different tension and pitch so one string took over where another left off. In turn, this led to being able to play dyads and chords. The bowed family became the rabob, and then the rebec fiddle, evolving into the modern violin family by 1520 (incidentally also in Italy). The plucked family led to lute-like instruments in 2000 BC Mesopotamia, and developed into the oud or ud before appearing in Spain, first documented around 711 AD, courtesy of the Moors.
Over subsequent centuries, the strings were doubled to courses, and eventually (in Europe) frets were added, leading to the first lute appearing in the thirteenth century. The history of the lute and the mandolin are intertwined from this point. The lute gained a fifth course by the fifteenth century, a sixth a century later, and up to thirteen courses in its heyday. As early as the fourteenth century a miniature lute or mandore appeared and used throughout Western Europe. Like the mandola, it had counterparts in Assyria (pandura), the Arab countries (dambura), and Ukraine (kobza-bandura).