Who supported Beg?