the political structure provided the opportunity to unify all lands under a single ruler , but every shogun who fought to control edo had proposed a divine right to rule as an excuse to gain power , not to bring an end to the civil strife that had plagued them for centuries .