The earliest evidence of anything approaching ice cream being made was in China in the Tang period (A.D. 618-907) (google)
Most things in this story are very much historically sourced with slight exaggeration
To be honest it's a cool learning experience to search stuff each time i have "huh...