Is an archive written by a Chinese prince about dynasties before him considered a primary source or a secondary source?

Q&A Platform for Education
Platform Explore for Education