Stone walls are a kind of masonry construction that has been used for thousands of years The first stone walls were constructed by farmers and primitive people by piling loose field stones into a dry stone wall Later mortar and plaster were used especially in the construction of city walls castles and other fortifications before and during the Middle Ages