Marghiloman was elected to the Romanian Parliament in 1884, and joined the government in 1888.
After the Germans occupied Bucharest, he remained there as the president of the Romanian Red Cross, and acted as a mediator between the German occupation authorities and the Romanian population.