Why is $(g^b \bmod N)^a \bmod N = g^{a*b} \bmod N$ ?
Specifically: Why/how does the mod N in the round brackets disappear from the first expression $(g^b \bmod N)^a \bmod N$?
I know of the exponential law that $g(^a)^b$ is equal to $g^{a*b}$ but I just do not understand why the $\bmod n$ in the round braces just disappears. Can someone help me with that? Has this anything to do with the exponential law or something entirely different?
Thanks in advance.