WAs Newark ever the capital of New Jersey?

Was newark, ever the Capital of New Jersey