In the fictional universe of Star Trek, the United Federation of Planets is the interstellar government with which, as part of its space force Starfleet, most of the characters and starships of the franchise are affiliated. From Wikipedia
Executive producers have confirmed the series will wrap with a six-episode fifth season following hints at a possible sequel in The Original Series era.