They were decimated by secular princes -- mostly the French King (who was the most powerful at that time and wanted the Templar's money...
So, yes, the Knights Templar were an intrinsic part of the theocracy
The betrayal of the Knights Templar was one of the most disgraceful things in the history of our Church’s leadership. It is a very sad story.
Read your history books.