he was married to his first wife, diana, princess of wales, from 1981 until they divorced in 1996. they had two sons, prince william and prince harry. charles has been married to his second wife, camilla, queen consort formerly the duchess of cornwall, since 2005.