Thomas S. Monson, who as president of the Church of Jesus Christ of Latter-day Saints since 2008 enlarged the ranks of female missionaries, but rebuffed demands to ordain women as priests and refused to alter church opposition to same-sex marriage, died on Tuesday at his home in Salt Lake City. He was 90.

His death was announced on the church’s website.

Facing vociferous demands to recognize same-sex marriage, and weathering demonstrations at church headquarters by Mormon women pleading for the right to be ordained as priests, Mr. Monson did not bend. Teachings holding homosexuality to be immoral, bans on sexual intercourse outside male-female marriages, and an all-male priesthood would remain unaltered.

Mr. Monson displayed a new openness to scholars of Mormonism, however, allowing them remarkable access to church records. But as rising numbers of church members and critics joined the internet’s free-for-all culture of debate and exposé, his church was confronted with troubling inconsistencies in Mormon history and Scripture. The church even found itself at odds with an old ally, the Boy Scouts of America, which admitted gay members and gay adults as scout leaders.

On Mr. Monson’s watch, the church enlarged its global missionary force to 69,200 from 52,000 and, in what students of church affairs called a major achievement, doubled the number of young women in its missionary ranks, to 18,400, by lowering the minimum age for service, starting in 2012, to 18 from 19 for men and to 19 from 21 for women.