In 1997 , the islands of Anjouan and Moheli declared independence from Comoros .