Government did not invent marriage, but it plays a role in upholding it, supporting it, and working to protect the rights of citizens in matters that correspond with marriage, such as inheritance and custody (these are complicated issues that must be addressed in a civil society in which the actions of some can affect the outcomes for others).