He died of illness in 1370 .
For the rest of his life , An continued his teaching career and wrote books .
An died of illness in 1370 .
For the rest of his life , An continued his teaching career and wrote books .