Two prominent liberal opposition figures , Garry Kasparov , a former world chess champion , and Mikhail Kasyanov , President Putin 's first prime minister who later became a critic , failed to get their names on the ballot .