Kenyan President Mwai Kibaki pledged to end rampant corruption when he came to power in 2002 , but allegations of graft continue to plague the government .