The constitution of 1848 established the federal state.