Following the 1989 amendments to the constitution which restored the presidency,[7] Wojciech Jaruzelski, the existing head of state, took office. In Poland's first direct presidential election, Lech Wałęsa won and was sworn in on 22 December 1990. The office of the president was preserved in the Constitution of Poland passed in 1997; the constitution now provides the requirements for, the duties of and the authority of the office.