What rank did Samuel Nicholas hold when he was commissioned to recruit and lead the first group of US Continental Marines?

History Trivia Question: What rank did Samuel Nicholas hold when he was commissioned to recruit and lead the first group of US Continental Marines?