Portugal was ruled as an absolute monarchy since 1698, the last time Portugal had any sort of representative assembly prior to 1820. The Liberal Revolution had as its main political objective the creation of a democratically elected parliament, but there were three approaches to what sort of parliamentary government should be established: