Original: Their duties varied from court to court.
Simplified: Their duties were different depending on the court.