Question:
Which position did José Pardo y Barreda hold in Aug, 1917?

Context:
 José Pardo y Barreda holds the position of President of Peru from Aug, 1915 to Jul, 1919. 
 José Pardo y Barreda holds the position of rector of the National University of San Marcos from Jan, 1914 to Jan, 1915. 
 José Pardo y Barreda holds the position of Minister of Foreign Affairs of Peru from Sep, 1903 to May, 1904. 
 José Pardo y Barreda holds the position of President of the Council of Ministers of Peru from Sep, 1903 to May, 1904.

Answer:
President of Peru