At the end of the 19th century Georg Cantor created a set theory that treated the actual infinity. His reasoning was theological.
It had an indirect influence on mathematics.