However, in sharp contrast to the similar, but much less successful reforms in the Socialist Federal Republic of Yugoslavia and the People's Republic of Hungary, these investments were not government mandated. The capital invested in heavy industry largely came from the banking system, and most of that capital came from consumer deposits. One of the first items of the Deng reforms was to prevent reallocation of profits except through taxation or through the banking system; hence, the reallocation in state-owned industries was somewhat indirect, thus making them more or less independent from government interference. In short, Deng's reforms sparked an industrial revolution in China.