While sitting on a chair or bench there is no difficulty in holding the trunk erect, because now the hamstring muscles are not only relaxed but further slackened at the lower end by flexion of the knee; the hips will flex several degrees farther here and also in sitting on the floor if the knees are flexed, tailorwise.
Source: wiktionary