The Madras Observatory was an astronomical observatory which had its origins in a private observatory set up by William Petrie in 1786 and later moved and managed by the British East India Company from 1792 in Madras (now known as Chennai). The main purpose for establishing it was to assist in navigation and mapping by recording the latitude and maintaining time standards.