<Table> <Tr> <Th_colspan="2"> Pavel Andreievich Chekov </Th> </Tr> <Tr> <Td_colspan="2"> Star Trek character </Td> </Tr> <Tr> <Td_colspan="2"> Walter Koenig as Pavel Andreievich Chekov </Td> </Tr> <Tr> <Th> First appearance </Th> <Td> "Amok Time" (TOS) (1967) </Td> </Tr> <Tr> <Th> Portrayed by </Th> <Td> <Ul> <Li> Walter Koenig (1967--94) </Li> <Li> Anton Yelchin (2009--16) </Li> </Ul> </Td> </Tr> <Tr> <Th_colspan="2"> Information </Th> </Tr> <Tr> <Th> Species </Th> <Td> Human </Td> </Tr> <Tr> <Th> Affiliation </Th> <Td> <Ul> <Li> United Federation of Planets </Li> <Li> Starfleet </Li> </Ul> </Td> </Tr> <Tr> <Th> Posting </Th> <Td> <Ul> <Li> USS Enterprise - navigator, security / tactical officer </Li> <Li> USS Reliant - first officer </Li> <Li> USS Enterprise - A - navigator and first officer </Li> </Ul> </Td> </Tr> <Tr> <Th> Rank </Th> <Td> <Ul> <Li> Ensign (Star Trek) </Li> <Li> Lieutenant (The Motion Picture) </Li> <Li> Commander (STII--Generations) </Li> </Ul> Admiral (Star Trek: Renegades) </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Pavel Andreievich Chekov </Th> </Tr>

What was chekhov's rank in star trek
find me the text answering this question