Input (grade 10): The Nasrid dynasty rose to power after the defeat of the Almohad dynasty in 1212 at the Battle of Las Navas de Tolosa.
Output (grade 10): The Nasrid dynasty came to power after the defeat of the Almohad dynasty in 1212 at the Battle of Las Navas de Tolosa.