after several decades of prosperity, it entered a period of protracted political, military and economic decline. its growing weakness led to its partitioning among its neighbors (austria, prussia and the russian empire) during the late 18th century. shortly before its demise, the commonwealth adopted a massive reform effort and enacted the may 3 constitutionthe first codified constitution in modern european history and the second in modern world history (after the united states constitution).