Original: The first allotments in the town were sold in 1840.
Simplified: The first land for houses in the town were sold in 1840.