Starfleet promotion ceremony

The Starfleet promotion ceremony took place when a Starfleet officer was promoted to a higher rank. The ceremony involved pinning the pip of the new rank on the officer's collar by their commanding officer or equivalent thereof. 

In 2258, was promoted to captain of the USS Enterprise'' (alternate reality) by the Starfleet Academy Board, for saving Earth from Nero. Admiral Richard Barnett pinned a medal to Kirk's dress uniform to signify his new rank.''

In 2371, Commander Benjamin Sisko was promoted to captain. His son, Jake, placed the fourth pip on Ben Sisko's collar at the promotion ceremony on Deep Space 9. 

Also in 2371, the senior staff of the USS Enterprise (NCC-1701-D) used a ceremony incorporated into an elaborate holodeck recreation of a 19th century sailing ship, for Lieutenant Worf's promotion to lieutenant commander. 

In 2374, on stardate 51186.2, Lieutenant Tuvok was promoted to lieutenant commander on board the USS Voyager during a promotion ceremony presided over by Captain Kathryn Janeway in Voyager's mess hall. 

In 2377, Tom Paris was promoted back to lieutenant junior grade following a previous demotion to ensign. The ceremony took place when he started his duty shift to find a box containing his new pip at his station.