each stronghold of the knights templar was ruled by a grand master , who not only controlled the ever expanding wealth of the order , but also the expenditure required to replace and train more knights as so many where killed during battle .