The article examines the political history of Serbia in 1858-1903 as a field of struggle between various subjects of the political system: parties and non-party groups. Special attention is paid to the transformation of parties under the influence of public administration: from popular movements to ruling elites and the subsequent decline. Two main ideas of the epoch are identified: the enlightened despotism of the Obrenovichi and the desire of the parties for the legal protection of citizens. The conclusion is substantiated that a consensus between strong state power and civil freedom was not found during the periods under review, which led to the dynastic coup of 1903.