The Anglo-Persian Oil Company was a British company founded in 1909 following the discovery of a large oil field in Masjed Soleiman, Persia (Iran). The British government purchased 51% of the company in 1914, gaining a controlling number of shares, effectively nationalizing the company. It was the first company to extract petroleum from Iran. In 1935 APOC was renamed the Anglo-Iranian Oil Company (AIOC) when Reza Shah formally asked foreign countries to refer to Persia by its endonym Iran.
In 1954, it was renamed again to The British Petroleum Company, one of the antecedents of the modern BP public limited company. The government of Mohammad Mosaddegh nationalized the company's local infrastructure assets and gave the new company the name National Iranian Oil Company.