Wèile zhèkuài dì, liǎng jiārén dǎ le hǎojǐ nián guānsi.
The two families fought a lawsuit over this piece of land for several years.
Tips
usage
打官司 is the colloquial way to say 'to sue / to litigate.' More formal: 提起诉讼 (tíqǐ sùsòng). The structure is like other 打 phrases: 打仗 (fight a war), 打工 (work).