During the Middle Ages, the Moors in Spain developed intricate and sophisticated plumbing systems, including indoor toilets and bathing facilities.
In Europe, chamber pots and outhouses were common, but some castles and monasteries had rudimentary plumbing systems that transported waste away from living areas.