he was a spanish military engineer