<human>:  Why did Boris Yeltsin resign as president of Russia?
<bot>: Boris Yeltsin resigned in 1999 because of a conflict with the parliament. In 1991, Yeltsin was elected president of Russia, and in 1996 he was reelected. In the 1990s, the country had a number of economic problems, and the parliament was not happy with the way that Yeltsin was handling them. The parliament wanted Yeltsin to be more accountable to them, so they passed a law that gave them the right to dismiss him from office.