Who Was Bernardo de Gálvez?

The Spanish general not only helped build the Chapultepec castle, but was rumored to be helping Mexico plan its independence.