A state visit is a formal visit by the head of a sovereign country to another sovereign country, at the invitation of the head of state of that foreign country, with the latter also acting as the official host for the duration of the state visit.