The risk factors for osteoporosis were male gender, ulcerative colitis as the type of IBD, an extensive range of inflammation in the intestine (pancolitis) among UC patients, exacerbated course of the disease, infrequent physical activity, physical activity other than jogging, cycling, gymnastics or swimming, positive fracture history and abnormalities of certain bone turnover markers: a higher level of C-terminal telopeptide of CTX and a lower level of osteocalcin. The gene discussed is BGLAP; the disease is ulcerative colitis.