History professor earns NSF grant