Palladio's reputation initially, and after his death, has been founded on his skill as a designer of villas. Considerable damage had been done to houses, barns, and rural infrastructures during the War of the League of Cambrai (1509–1517). Recovery of former levels of prosperity in the countryside was probably slow, and it was only in the 1540s, with the growth of the urban market for foodstuffs and determination at government level to free Venice and the Veneto from dependence on imported grain, above all grain coming from the always threatening Ottoman Empire, that a massive investment in agriculture and the structures necessary for agricultural production gathers pace. Landowners for decades had been steadily under stable Venetian rule, been buying up small holdings, and consolidating their estates not only by purchase, but by swaps of substantial properties with the other landowners. Investment in irrigation and land reclamation through drainage further increased the income of wealthy landowners.