 Since he had no children, William was first in line to succeed him to the throne and thus was given the title "Prinz von Preußen".Against his convictions but out of loyalty towards his brother, William signed the bill setting up a Prussian parliament ("Vereinigter Landtag") in 1847 and took a seat in the upper chamber, the "Herrenhaus".During the Revolutions of 1848, William successfully crushed a revolt in Berlin that was aimed at Frederick William IV.