A Portuguese name or Lusophone name – a personal name in the Portuguese language – is typically composed of one or two personal names, the mother's family surname and the father's family surname (rarely only one surname, sometimes more than two). For practicality, usually only the last surname (excluding prepositions) is used in formal greetings. The Portuguese naming system is very flexible. Portuguese law establishes the need for a child to have at least one personal name and one surname from one of the parents. The law also establishes the maximum number of names allowed: up to two personal names and four surnames. Advice from the Ministério da Justiça says of this restriction that a name "may contain a maximum of six simple words or compounds, as a rule, up to two first names and four surnames"; more may be permissible in some circumstances. Usually, the maternal surnames precede the paternal ones, but the opposite is also possible. If the father is unknown, or he has not acknowledged the child, only the mother's family name(s) is/are used. A child can receive surnames from their parents' ancestors, even if those surnames are not part of the parents' names, provided that the parents prove those names were used by their ancestors. Some Portuguese family names are made of two words, most often not hyphenated, but are not composite names, as they were not the result of combining two family names in past generations; instead, the words constitute a single logical unit. These include toponyms (e.g. Castelo Branco), religious references (e.g. Espírito Santo, Santa Rita), or other expressions (e.g. Corte Real, Mil-Homens). In this case both words must be cited (e.g. writer Camilo Castelo Branco is never referred to as Camilo Branco). It is not uncommon in Portugal that a married woman has two personal names and six surnames, two from her mother's family, two from her father's family, and the last two coming from her husband. In addition, some of these names may be made of more than one word, so that a full feminine name can have more than 12 words.