He studied for the law Colegio Gregoriano in Mexico City, graduating with good marks, and was admitted to the bar in 1844.
This passage describes the educational journey of someone who studied law at Colegio Gregoriano in Mexico City, achieved good grades, and was admitted to the bar in 1844.