Gagnon appointed as state adviser