The government helped the villagers relocate to new housing.
Tips
usage
搬迁 is more formal and large-scale than 搬家 (bānjiā, to move house). 拆迁 (chāiqiān, demolition and relocation) is a hugely important concept in China — when old neighborhoods are torn down for development, residents are relocated with compensation.