# Simple Alignment to the Left [duplicate]

Yesterday I posted a question here followed by a Post Script. How do I align the equations in the Post Script by the "=" signs, just like "someone you know" did when responding to me? The following is the equations' code:

S_1 = {hgh^{-1}g^{-1} \mid h \in H }
= {hg (g^{n-1})(g^{n-1})^{-1}h^{-1}g^{-1} \mid h \in H }
= {h(g g^{n-1})(g^{n-1})^{-1}h^{-1}g^{-1} \mid h \in H }
= {hg^n(g^{n-1})^{-1}h^{-1}g^{-1} \mid h \in H }

Thank you for your time and happy holidays to all.

If you see any MathJax code on this site, you can right click and choose "Show Math As/TeX Commands".

\begin{align*}

\begin{align*} S_1&=\{hgh^{-1}g^{-1}:h\in H\}\\ S_2&=\{hkh^{-1}k^{-1}:h\in H,k\in\langle g\rangle\}=\{hg^nh^{-1}g^{-n}:h\in H, n\in\mathbb{Z}\} \end{align*}