The President of Warsaw is Rafał Trzaskowski. The first president elected according these rules was Lech Kaczyński. When he was elected as the President of Polish Republic (December 2005) he resigned as mayor on the day before taking office.