Pakistani President Gen Pervez Musharraf through his counsel had declared before the Supreme Court that he would step down as army chief if he will be elected president for a second term by the parliament and four provincial assemblies.