 For most of Šarec's second term as mayor of Kamnik, the party was active only at the local level.Šarec contested the 2017 presidential election, advancing to the runoff but narrowly losing to incumbent President Borut Pahor.After announcing his much speculated entry into parliamentary politics, LMŠ swiftly topped public opinion polls, emerging as the foremost party leading into the 2018 Slovenian parliamentary election.