Impolitically
The Century Dictionary and Cyclopedia
Impoliticly.
Word Usage
"In Ogletree's phrasing, the "acted stupidly" remark "blackened" the President, impolitically demonstrating to Americans that he, too, could be sensitive to the indignities suffered by a particular racial group."