The exact origins of Freemasonry remain lost in time. The order is thought to have arisen from the English and Scottish guilds of practicing stonemasons and cathedral builders in the Middle Ages. Certain Masonic documents actually trace the sciences of geometry and masonry to the time of ancient Egypt and the building of King Solomon's Temple.
The formation of the first Grand Lodge in London in 1717 marks the beginning of the Modern (or “Speculative”) era of Freemasonry, when members were no longer limited to actual working stonemasons. These “Accepted” Masons adopted more enlightened philosophies, and turned what was a tradesmen’s organization into a fraternity for moral edification, intellectual recitation, benevolent service, and gentlemanly socialization.
Part of the mystique of Freemasonry can be attributed to speculation about its roots. Over the years, historians have never been able to conclusively determine exactly when, where, how, and why Freemasonry was formed.