See this subject largely treated under the article: Firstborn.