The summer residence was named after Queen Sophie Charlotte, who welcomed musicians and the philosopher Leibniz here.