On July 5.1803 ; The Convention of Artlenburg is signed, leading to the French occupation of Hanover (which had been ruled by the British king).