Here's the answer:
“no tenía la intención de ... ”
Watch a real native speaker say it:
Here's how it sounds in a textbook:
You could also say:
- no tenía la intención de...
Fun fact: the hundreds of thousands of people learning Spanish with Memrise get this phrase correct 94.68% of the time!