Answer: No
Explanation: He came up with unique idea of non violent protests called Satyagrahi ; a policy of passive political resistance, especially that advocated by Mahatma Gandhi against British rule in India and succeeded to unite more people for his cause of Indian freedom from British rulers. His efforts throughout the years were considered as heroic.
Egypt had some earliest farming villages thousands years ago maybe even millions, Africa also had earliest farming villages as well. Albania, Central Germany, and Anatolia.
The hammurabi was stated very clearly about the crime and punishment than magna carta