 They deposed Ferdinand on 22 August, and four days later, they offered the crown to Frederick V of the Palatinate.Frederick had tried to convince the electors to elect Maximilian I of Bavaria as the new Holy Roman Emperor.Maximilian did not accept the candidacy and Ferdinand was unanimously elected as King of Bohemia on 28 August.