El Badi Palace in this present-day nation was commissioned by Ahmad al-Mansur, a ruler of the Saadi Dynasty. That palace is in a city which the victor of the Battle of Zallaka, Yusuf ibn Tashfin, founded: Marrakech, the second capital of the Almoravids. The 1975 Green March by this nation forced Spain to cede territories, long after it was made a European protectorate through the Treaty of Fez. The appearance of Panther in Agadir caused a diplomatic crisis in this nation, while an earlier incident occurred in 1905, when Wilhelm II visited Tangier, necessitating the Algeciras Conference. For 10 points, what nation, currently ruled by Mohammed 
El Badi Palace in this present-day nation was commissioned by Ahmad al-Mansur, a ruler of the Saadi Dynasty. That palace is in a city which the victor of the Battle of Zallaka, Yusuf ibn Tashfin, founded: Marrakech, the second capital of the Almoravids. The 1975 Green March by this nation forced Spain to cede territories, long after it was made a European protectorate through the Treaty of Fez. The appearance of Panther in Agadir caused a diplomatic crisis in this nation, while an earlier incident occurred in 1905, when Wilhelm II visited Tangier, necessitating the Algeciras Conference. For 10 points, what nation, currently ruled by Mohammed VI of the Alaouite Dynasty, has its capital at Rabat?
El Badi Palace in this present-day nation was commissioned by Ahmad al-Mansur, a ruler of the Saadi Dynasty.
Morocco