This study is designed to evaluate the long-term efficacy and safety of mirikizumab in participants with moderately to severely active ulcerative colitis (UC). The study will last up to 3 years. Participants who complete the 3-year study may continue to receive mirikizumab until it is (outside of this study) in their country or until they meet other discontinuation criteria.