Which political forces maintained strong control over the state until shortly after French intervention