Fleet Captain (O-7) is a Starfleet rank senior to a Captain but subordinate to a Commodore. There are line, staff, and provisional ranks for this grade.