Socialist rule was brought to a close with a new constitution and free elections in 1993 .