Numerology heavily influenced Imperial Architecture, hence the use of nine in much of construction (nine being the greatest single digit number) and the reason why the Forbidden City in Beijing is said to have 9,999.9 rooms—just short of the mythical 10,000 rooms in heaven. The importance of the East (the direction of the rising sun) in orienting and siting Imperial buildings is a form of solar worship found in many ancient cultures, where there is the notion of Ruler being affiliated with the Sun.