United States a two-party state

Why  the United States a two-party state In the United States parties are generally thought of as the Democratic and Republican party.Why have the Democrats and Republicans been those two parties over the last one hundred and fifty plus year? In responding to that discuss whether or not the parties have been unchanging in their doctrines?