Bruce's Code is a set of rules for the management and administration of temples of Tirumala and Tirupati including the servants, enacted by East India Company in 1821 AD. These were the well-defined rules formulated as a code having 42 provisions to ease the administration of temples of Tirumala and Tirupati on the basis of customs and previous usages without interfering in the day-to-day affairs.