 This retroactively legitimised Musharraf's 1999 actions and many of his subsequent decrees as well as extending his term as president.In a vote of confidence in January 2004, Musharraf won 658 out of 1,170 votes in the electoral college, and was elected President.Soon after Musharraf increased the role of Shaukat Aziz in parliament and helped him to secure nomination for the office of Prime Minister.