What happened in 641 CE ?