The country was exporting a lot of grain and this money was not invested into developing new technologies but rather aristocrats took it for themselves. This is when Peter the Great came and introduced the new nobility and started developing the country and modernizing it in order to make new things possible.