In February 1777 , he learned that he had been passed over for promotion to major general by Congress . In February of 1777 , he learned that he had been passed over for promotion to major general by Congress .