Were the US Navy and US Marine Corps created In 1798?

Was the US Navy and US Marine Corps were created In 1798
In 1798 the us navy and us marine corps were created