The president was himself elected by the parliament in October .