In the 18th century, the sword was an integral part of the wardrobe of the court nobility, the diplomatic corps, and high-ranking officials, and was considered a symbol of education and social standing. It replaced the rapier because population growth and the resulting lack of space created a need for lighter, shorter, and less bulky weapons.