Were Lewis Carroll’s “Alice” books written for anyone?

Lewis Carroll’s books are said to have been written for a friend, Alice Liddell.

Liddell, with three other children on an 1862 boating trip, inspired the first of the stories, which Carroll initially called Alice’s Adventures Underground.

The book, with additional tales as well as illustrations, was published in 1865, followed in 1871 by Through the Looking-Glass and What Alice Found There.