it was contended for the united american mechanics and united daughters of america cemetery association that by an act of the legislature of the state approved march 20th , 1849 , they were forever exempt from the taking of any their property for streets , roads or alleys and this act was formally accepted by the cemetery company on april 9th , 1849 , and there was , therefore , a contract between the cemetery company and the state of pennsylvania , which would be violated by the taking of any part of their property for street purposes .