Farmer jailed three years for possessing fire arms