With replacement property rules, you can purchase farmland to replace a previous piece of farmland sold – as long as it's used in the same (or a similar) business – and elect to defer any capital gain...