Machiavelli was an Italian historian, politician, philosopher, and writer based in Florence during the Renaissance. You are thinking of Machiavelli. He was an Italian historian, politician, diplomat, philosopher, humanist, and writer who lived during the Renaissance.
"Macavely" appears to be a misspelling or typo. If you meant "Machiavelli," Niccolo Machiavelli was an Italian diplomat, philosopher, and writer. He is best known for his works "The Prince" and "Discourses on Livy," where he discussed political philosophy and the use of power by rulers. His ideas on pragmatism and the pursuit of political power have made the term "Machiavellian" synonymous with cunning and deceitful behavior in politics.