A 75-year-old farmer has been banned from keeping farm animals for life after admitting causing unnecessary suffering to poultry and pigs.
Vivian Exelby from Carnhell Green near Camborne previously pleaded guilty to 12 animal welfare charges.
Truro Magistrates Court heard how a Cornwall Council inspector visited Exelby's farm on 30 April with a vet.
Prosecuting, Kevin Hill said they found animals with no water and housed in enclosures that were "so deep in dung the officer had difficulty moving from pen to pen".
One sow was housed in a farrowing crate that was so small it couldn't turn around.
In mitigation Robert Eccleston told the court how the unmarried Exelby lived on the farm his whole life and had farmed it alone since his father died in the 1970s.
For most of his career, he had taken good care of the animals, the court heard.
The magistrates were told Exelby last had a holiday in 1952 and has now retired, having sold off his remaining animals.
As well as the disqualification, Exelby was sentenced to a four-month curfew and ordered to pay costs of £1,500.