From a logical point of view, I’d say Mormonism grew into a legal entity...I wouldn’t really call it a religion...more like a “club”.
Officially it is the “CORPORATION of the president of the the Church of Jesus Christ of Latter-day Saints”.
Not kidding.