In the post-Soviet years, foreign direct investment was encouraged, but it was constrained by unfavorable conditions, including state intervention in industry, corruption, and weakness in the rule of law. Investment by non-Russian companies was also discouraged by moves taken by the Russian government to increase state ownership in various industries, including oil and gas, aviation, and automobile manufacturing.