The world's first commercial oil well was drilled in Poland in 1853, and the second in nearby Romania in 1857. At around the same time the world's first, but small, oil refineries were opened at Jasło in Poland, with a larger one being opened at Ploiești in Romania shortly after. Romania is the first country in the world to have its crude oil output officially recorded in international statistics, namely 275 tonnes. By the end of the 19th century the Russian Empire, particularly in Azerbaijan, had taken the lead in production.