Pan-Germanism's origins began in the early 19th century following the Napoleonic Wars.