On October 26, 1776, he was temporarily promoted to Deputy Adjutant General under Major General Heath in defense of the Highlands and also served as Deputy Paymaster. In January 1777 he was promoted to major of Webb's Additional Continental Regiment which was part of Major General Israel Putnam's division. During the summer of 1778, he participated in the Battle of Rhode Island, where he took temporary command of the regiment. He was promoted to lieutenant colonel of the regiment in October 1778. Under his command, the unit fought in the Battle of Springfield in 1780 in New Jersey.