Under a personal union, due to the Act of Union, the monarch was simultaneously monarch of Denmark. The Parliament of Iceland asked that Denmark represent Iceland internationally, and day-to-day matters were delegated to a Danish plenipotentiary for Icelandic affairs based in Reykjavík, and – after the German invasion of Denmark in 1940 – a regent was appointed.