During the times when horses were the primary mode of transportation, European high society and royalty kept large stables of horses to pull carriages, ride, and breed. Many of these stables were elaborately constructed and still exist today. In England, the stable was historically the second building constructed on a farm. The world's oldest horse stables were discovered in the ancient city of
Pi-Ramesses in
Qantir, in
Ancient Egypt, and were established by
Ramesses II (c. 1304–1213 BC). These stables covered approximately 182,986 square feet, had floors sloped for drainage, and could contain about 480 horses. Free-standing stables began to be built from the 16th century. They were well built and placed near the house because these animals were highly valued and carefully maintained. They were once vital to the economy and an indicator of their owners' position in the community. Relatively few examples survive of complete interiors (i.e. with stalls, mangers and feed racks) from the mid-19th century or earlier. Traditionally, stables in
Great Britain had a
hayloft on the upper floor and a pitching door at the front. Doors and windows were symmetrically arranged. Their interiors were divided into stalls and usually included a large stall for a
foaling mare or sick horse. The floors were cobbled (or, later, bricked) and featured drainage channels. An outside stone stairway constructed against the side of the building was common for reaching the upper level. == Other uses ==