Krull's principal ideal theorem states that
$A$ is a Noetherian ring and (x) is a principal, proper ideal of $A$, then each minimal prime ideal over (x) has height at most one.
According to proof which is available on Wikipedia, it starts in the following way-
Let $A$ be Noetherian ring, x be an element of it and $\mathfrak p$ be minimal prime over x. Replacing $A$ by localization $A_{\mathfrak p}$.We can assume that $A$ is local with maximal ideal $\mathfrak p$.....
Now, I know that $A_{\mathfrak p}$ is local with maximal as well as prime ideal $\mathfrak pA_{\mathfrak p}$. But I'm not able to understand the part in the proof where it says we can assume that $A$ is local ring with maximal ideal $\mathfrak p$.
Can someone please tell me how we can assume that $A$ is local ring with maximal ideal $\mathfrak p$?