He said the driving factor behind the general 's decision to resign was the newly independent Supreme Court and the likelihood that the chief justice would declare his continued military rule unconstitutional .