What did Hitler do as a young man in World War 1?

In World War I Hitler voluntarily enlisted in the 16th Royal Bavarian Reserve Infantry Regiment (part of the 6th Royal Bavarian Reserve Infantry Division).