The lands of the canton Basel-Landschaft are part of the lands acquired by the city of Basel. Until the end of the 16th century, most of the canton's land belonged to the city of Basel. After Napoleon's visit in 1798, the country achieved equality with the city. The country was economically dependent on the city, most probably because of the cost and difficulty in transporting agricultural goods to further markets, the financing of land transactions and crop production by city-based merchants. Low levels of education and literacy in the agricultural areas of Europe was typical in that era. The best students would be sponsored and sent away for higher learning. The city of Basel remained the cultural and economic centre of both Basel half cantons until then. Castles and residences of Basel merchants dominated much of the landscape in Basel-Landschaft.