his career was affected by the events of the napoleonic period