Once Wilfrid Laurier became party leader, however, the party dropped its anti-clerical stance and went on to dominate Canadian politics throughout most of the twentieth century. Since that time, Liberal prime ministers have been overwhelmingly Catholic (St. Laurent, both Pierre and Justin Trudeau, Chrétien, Martin), but since the 1960s Liberals have again had a strained relationship with the Catholic church, and have increasing parted with the Catholic church's teachings on sexual morality, as when Pierre Trudeau legalized homosexuality and streamlined divorce (as justice minister under Pearson), and Martin legalized same-sex marriage.