text: The production of these oils and solid paraffin wax from coal formed the subject of his patent dated 17 October 1850. In 1850 Young & Meldrum and Edward William Binney entered into partnership under the title of E.W. Binney & Co. at Bathgate in West Lothian and E. Meldrum & Co. at Glasgow; their works at Bathgate were completed in 1851 and became the first truly commercial oil-works and oil refinery in the world, using oil extracted from locally mined torbanite, shale, and bituminous coal to manufacture naphtha and lubricating oils; paraffin for fuel use and solid paraffin were not sold till 1856.
  Kerosene
  Abraham Pineo Gesner, a Canadian geologist developed a process to refine a liquid fuel from coal, bitumen and oil shale. His new discovery, which he named kerosene, burned more cleanly and was less expensive than competing products, such as whale oil. In 1850, Gesner created the Kerosene Gaslight Company and began installing lighting in the streets in Halifax and other cities. By 1854, he had expanded to the United States where he created the North American Kerosene Gas Light Company at Long Island, New York. Demand grew to where his company's capacity to produce became a problem, but the discovery of petroleum, from which kerosene could be more easily produced, solved the supply problem.
  Ignacy Łukasiewicz improved Gesner's method to develop a means of refining kerosene from the more readily available "rock oil" ("petr-oleum") seeps, in 1852, and the first rock oil mine was built in Bóbrka, near Krosno in central European Galicia (Poland) in 1854. These discoveries rapidly spread around the world, and Meerzoeff built the first modern Russian refinery in the mature oil fields at Baku in 1861. At that time Baku produced about 90% of the world's oil.