Complex sentence: The Taifa of Santarém was a medieval taifa Moorish kingdom in what is now Portugal which only existed from 1144 to 1145.
Split into simpler sentences: The Taifa of Santarém was a medieval taifa Moorish kingdom in what is now Portugal. It only existed from 1144 to 1145.