an Entity references as follows:
Sultan Sidi Muhammad ibn Sharif ibn Ali ibn Muhammad (Arabic: سيدي محمد بن شريف بن علي بن محمد) (? – 2 August 1664) was an Arab ruler of Tafilalt, Morocco between 1636 and 1664. He was the eldest son of Moulay Sharif ibn Ali and came to power when his father stepped down. He was killed on 2 August 1664 in a battle on the plain of Angad by troops of his half-brother Moulay Rachid.