 Complete the following phrase:  Frederick was educated at Marburg and Leipzig. He became co-regent on 30 September 1831, and Prince-elector in 1847. Under influence of his minister Hans Daniel Ludwig Friedrich Hassenpflug he conducted a reactionary policy, which made him very unpopular. He was forced to give in to the demands of the 