In 2009, Roja Municipality was formed by mergingMērsrags parish and Roja parish, both at the coast of the Baltic Sea. In January 2010, the residents of Mērsraga in a general meeting decided to withdraw from the new municipality and create an independent Mērsrags municipality. In September 2010, the national parliament Saeima in a first reading supported a change of the law of administrative territories and populated areas for the establishment of Mērsrags municipality. Separate Roja and Mērsrags municipality council elections took place on 18 December 2010. Officially, Mērsrags Municipality came into life on 3 January 2011.