During her stay in Morocco, American novelist Edith Wharton was hosted by resident general Hubert Lyautey, a man who inspired her account «In Morocco». In her book, Edith praises the French government and glorifies imperialism.