As Minister of Overseas in the government presided by General Prim in 1870, Moret, himself a member of the Spanish Abolitionist Society,[1] pushed for the abolition of slavery and the creation of a constitution for Puerto Rico.
With the restoration of the Bourbon dynasty to the Spanish throne in 1875, Moret returned to Spain, where he founded the Partido Democrático-Monárquico party.
In 1883, he was appointed Minister of the Interior (Gobernación), and after 1885, he joined the Liberal Party in which he cooperated with Práxedes Mateo Sagasta as Minister of State (estado, foreign affairs, 1885–1888), Interior (Gobernación, 1888, 1901, 1902), Development (Fomento) (1892), State (Estado, foreign affairs, 1892, 1894) and Overseas Colonies (Ultramar, 1897–1898).
In 1897, as Minister for Overseas Colonies (Ultramar), Moret decreed the autonomy for Cuba and Puerto Rico.
[2] In 1902, he collaborated in the creation of the Institute of Social Reform, which was a precursor of the future Ministry of Labour.