The 1812 Polish War re-established the Poland-Lithuania border , but Napoleon 's troops were crushed as they advanced on Moscow .
The Poland-Lithuania border was re-established by the war of 1812 but Napoleon 's army was defeated on their way to Moscow .