When did Pervez Musharraf resigned from the post of President ?

A. 18 August 2008
B. 12 October 2008
C. 10 September 2008
D. 5 July 2005