What is the name of this bird?

It was a very large bird that we spotted in a flat grassy area in Grand Teton National Park in Wyoming. There were two of the birds. They had long necks and long legs and looked a bit like a heavily built heron. The appeared to be brown in color and also had long beaks. We observed them feeding in the grasses around sunset in late August.