 While the constitution guaranteed certain fundamental rights, their scope was limited by provisions stating they had to be exercised in harmony with the interests of the socialist society.In 1989, as the Communist regime ended, the legislature overwhelmingly approved nearly a hundred changes to the constitution which purged the document's Communist character.Hungary was now defined as a civil democratic and constitutional republic that respected "the values of both bourgeois democracy and democratic socialism."