The first modern flushable toilet was invented in 1596 by Sir John Harrington. He installed one for his godmother, Queen Elizabeth I

The first modern flushable toilet was invented in 1596 by Sir John Harrington. He installed one for his godmother, Queen Elizabeth I.
Portraits of Elizabeth I: Fashioning the Virgin Queen
 His invention included a water tank and a flush valve. However, the flush toilet wouldn’t become popular for another 250 years. Most toilets in Medieval Europe were either holes in the ground, communal outhouses, or chamber pots.
The first modern flushable toilet was invented in 1596 by Sir John  Harrington. He installed one for his godmother, Queen Elizabeth I. The  invention included a water tank and a flush valve.
If you were fortunate and born into considerable wealth, you might have used a garderobe (derived from the French word for “wardrobe”). These were small rooms built adjacent to the walls of medieval castles. The toilet was connected to a vertical shaft that extended down to the groundFlush Toilet - WH1 Sem1: European Renaissance