Freedom of religion was first applied as a principle in the founding of the colony of Maryland, also founded by the Catholic Lord Baltimore, in 1634. Fifteen years later (1649), an enactment of religious liberty, the Maryland Toleration Act, drafted by Lord Baltimore, provided: "No person or persons ... shall from henceforth be any waies troubled, molested or discountenanced for or in respect of his or her religion nor in the free exercise thereof." The Maryland Toleration Act was repealed with the assistance of Protestant assemblymen and a new law barring Catholics from openly practicing their religion was passed. In 1657, Lord Baltimore regained control after making a deal with the colony's Protestants, and in 1658 the Act was again passed by the colonial assembly. This time, it would last more than thirty years, until 1692, when after Maryland's Protestant Revolution of 1689, freedom of religion was again rescinded. In addition in 1704, an Act was passed "to prevent the growth of Popery in this Province", preventing Catholics from holding political office. Full religious toleration would not be restored in Maryland until the American Revolution, when Maryland's Charles Carroll of Carrollton signed the American Declaration of Independence.