What was the highest rank himmler earned in the military?

the highest rank that Heinrich Himmler got in the military was general. he served in the years 1945-1948. he served in the Nazi party.