After that , he was Afghanistan 's prime minister from June 1993 to June 1994 .