Text this: Regulating the distribution, promotion, and retirement of officers of the line of the Navy, and for other purposes.