Having seized power and virtual independence from Turkey in the confused period which followed the withdrawal of the French, and with French support, Mohammed Ali set out to establish an efficient and Westernizing despotism with foreign (mainly French) technical aid.