It was no surprise that Russia 's president , Vladimir Putin , declared the recent killing of Aslan Maskhadov , who was elected president of Chechnya in 1997 and spent the past several years in hiding , as a major victory in the Chechen war .