Using your save game I can see both wrong behaviors: in your log, you found SH before you research Faith. When I click next turn, you research Jihad, but BG founds the religion despite not having Jihad at all. But I cannot reproduce these from scratch. I loaded the BG game from the OP. I set my three warriors to explore, build my city, select a barracks to build, and select Faith to research. Then I click "next turn" 14 times till Faith gets researched. I found SH on this turn, not any previous turn. I tried to reproduce the Harkonnen problem using the game from the OP. Since Jihad is a midgame tech, I took a shortcut by granting myself Fanaticism using WB. Then I clicked next turn 26 times till I founded Jihad. I found Mahdi on this turn, and get it. It is almost as if in your installation, the game is causing the religion to be founded on the correct turn, but assigning it to the wrong civ. The question is why this isn't happening for me. Do you have python logging turned on, and are you getting any python exceptions? Do you have a local copy of BUG (or anything else) installed in My Games/Beyond The Sword/CustomAssets? I can't think of anything else that could cause a difference. Can you reproduce this behavior in a custom game from scratch (rather than using the PYL files)? It should not take long to reproduce receiving SH before researching Faith; that would happen quite early if it was going to happen. Can anybody else reproduce the problems of AP using the steps I list in this post?