Well, they had a secular democracy in the fifties and the UK wasn't having it.
The UK got the US to help and overthrew the democratically elected president and installed the Shah, with his secret police and his torture. The only way Iran has been able to escape from US/UK control of their country is to be even bigger bastards than we are.