Both Turkey and Iran supported the Egyptian revolution of 2011 and the subsequent Mohamed Morsi government, and condemned the 2013 Egyptian coup d'état.