Between 1992 and 2014, he was a lecturer at the Faculty of Law of Ljubljana University, and an external adviser to the National Assembly of the Republic of Slovenia for constitutional and other legal matters.
He advocated the rule of law, constitutional democracy, improved legal culture and higher ethical standards in the society.
The government consolidated public finances, adopted a state asset management strategy and gradually abandoned the austerity measures.
In 2015 and 2016, in cooperation with local communities and NGOs, Cerar’s government managed to secure the humane and safe treatment and transit of approximately half a million migrants across the Slovenian territory.
Among his priorities were economic diplomacy, sustainable development, rule of law, human rights, humanitarian action, and multilateralism.
His father Miroslav Cerar (born in 1939) is a multiple European, world, and Olympic pommel horse champion (he also won medals in other gymnastic disciplines), and after the end of his sports career, he worked as a lawyer until his retirement.
In 1987, he received the Slavko Zore Prize awarded by the United Nations Association of Slovenia for his bachelor's thesis Legal Protection of Trademarks (advisor: Krešimir Puharič).
Both books called for the enforcement of the rule of law and democratic values, particularly in the light of the then non-democratic pressures of the regime on the democratisation process in Slovenia.
In June 1990, Cerar, together with Peter Jambrek, Lojze Ude, and other experts, participated in drafting the initial proposal for launching the procedure for the adoption of a new Slovenian constitution put forth by the Presidency of the Republic of Slovenia.
He contributed to opinions on various constitutional and legal matters, particularly related to the electoral and wider political system, referendums, immunity of deputies, and parliamentary rules of procedure.
The party manifesto focused on different measures to overcome the crisis underlining human dignity, the rule of law, improved political culture and sustainable development.
[11] After several years of turmoil, this Government managed to stabilise the political situation leading the country out of the financial and economic crisis.
These and other measures and institutional changes helped Slovenia correct the macroeconomic imbalances, recorded since 2011, for which it was publicly also commended by the European Commission.
During the last year in office (2018), the Government managed to secure a balanced budget with a surplus, while the sovereign debt started its downward trend and unemployment hit a record low for the first time since 2009.
To tackle the economic crisis, Cerar’s government revived and strengthened national and foreign investment, including in public infrastructure with the upgrade and modernisation of rail and road connections.
The Government also secured the fulfilment of key administrative and financial conditions to begin the construction of the second track of the Divača–Koper railway line.
In the 2015–2016 period, the Government joined forces with the local authorities and NGOs to enable the humane and safe treatment and passage of some 500,000 migrants across the Slovenian territory.
At the June 2018 early election, Cerar was re-elected deputy and his party obtained 9.7% of the vote thus losing its leading position among centrist voters.
[15] Upon assuming these duties, Cerar announced and started implementing a partial change in foreign policy, which was to remain balanced in general but, in parallel, turn slightly more towards the West, favouring closer cooperation with the core countries of the European Union, with pronounced relations with Benelux, and the United States.
He dedicated special attention to the strategic cooperation with Germany and France, as well as the relations with the United Kingdom in the post-Brexit period.
He prioritised strengthening economic diplomacy along with efforts for sustainable development, the rule of law, human rights and non-discrimination, multilateralism and humanitarian aid.
At the European level, Cerar was among the most vocal supporters of the enlargement process to the Western Balkan countries, and closer Euro-Atlantic cooperation (accession of North Macedonia to NATO).