It was derived from the Khitan script, which in turn was derived from Chinese (Han characters), the script has only been decoded to a small extent.
It was derived from the Khitan script, the script has only been decoded to a small extent. The Khitan script in turn was derived from Chinese (Han characters).