Mohammed Zahir Shah ( 16 October 1914 â `` 23 July 2007 ) was the last King ( Shah ) of Afghanistan , reigning for four decades , from 1933 to 1973 . Mohammed Zahir Shah ( 15 October 1914 -- 23 July 2007 ) was the last King ( Shah ) of Afghanistan , reigning for four decades , from 1933 until he was ousted by a coup in 1973 .