Persians had a system since 400 BC:

https://en.wikipedia.org/wiki/Yakhch%C4%81l