Montenegro achieved formal independence through a peaceful referendum in 2006, gained NATO membership in 2017, and is currently a candidate for European Union membership. Montenegro has been ruled by one party for the past 20 years, however, and this centralization of power has created challenges in relations between the government and the opposition, electoral competition, the rule of law and independent media.