Legislative and executive functions were separated.