The Templars got immensely rich during the heyday of the Crusades. Because they were so vital to the survival of the Crusader states, they were granted permission by the Pope to run their own affairs, which meant they were effectively answerable to no one.