The resurgent Hindu Sena dynasty dethroned the Pala Empire in the 12th century, ending the reign of the last major Buddhist imperial power in the Indian subcontinent. The Pala period is considered one of the golden eras of Bengali history. The Palas brought stability and prosperity to Bengal after centuries of civil war between warring divisions. They advanced the achievements of previous Bengali civilisations and created outstanding works of arts and architecture. They laid the basis for the Bengali language, including its first literary work, the "Charyapada". The Pala legacy is still reflected in Tibetan Buddhism.