As early as 939 A