later he was a military aggregate in the bolivian legation