Ministers Deri and Litzman have resigned under the Norwegian law to allow other members of their party to take their place.