The last British monarch who ruled in Hanover was William IV