text: While the local use of oil goes back many centuries, the modern petroleum industry along with its outputs and modern applications are of a recent origin. Petroleum's status as a key component of politics, society, and technology has its roots in the coal and kerosene industry of the late 19th century. One of the earliest instances of this is the refining of paraffin from crude oil. Abraham Gesner developed a process to refine a liquid fuel (which he would later call kerosene) from coal, bitumen and oil shale; it burned more cleanly and was cheaper than whale oil. James Young in 1847 noticed a natural petroleum seepage when he distilled a light thin oil suitable for use as lamp oil, at the same time obtaining a thicker oil suitable for lubricating machinery. The world's first refineries and modern oil wells were established in the mid-19th century. While petroleum industries developed in several countries during the nineteenth century, the two giants were the United States and the Russian Empire, specifically that part of it that today forms the territory of independent Azerbaijan. Together, these two countries produced 97% of the world's oil over the course of the nineteenth century.