In weeks 6-7 the urorectal septum divides the cloaca and cloacal membrane into two parts, one comprising the rectum, anal canal and anal membrane, and the other the urogenital sinus and urogenital membrane.