I want to know the answer to the following question:
Who prevented the Almohads from entering Valencia?
All the background I'm provided with is that "The declining power of the Almoravids coincided with the rise of a new dynasty in North Africa, the Almohads, who seized control of the peninsula from the year 1145, although their entry into Valencia was deterred by Ibn Mardanis, King of Valencia and Murcia until 1171, at which time the city finally fell to the North Africans.". Is that enough to answer the question?
Answer: yes