In the 14th century, the monarchies of Norway and Denmark were united and Iceland was ruled from Copenhagen. This became an absolute monarchy and the Althing gave up the right to make laws for Iceland. It served only as a court of law until June 1800, when the king dissolved it completely. It was replaced by a High Court of three judges who met in Reykjavik.