On 7 March 1820 the royal palace in Madrid was surrounded by soldiers under the command of General Francisco Ballesteros, and on 10 March the King agreed to restore the Constitution.
V tem času se je Riego pridružil prostozidarjem in sodeloval z liberalci v več zarotah proti kralju, ki niso uspele.