The subcostal nerve (anterior division of the twelfth thoracic nerve) is a mixed motor and sensory nerve contributing to the lumbar plexus.
The anterior division of the twelfth thoracic nerve, which serves as both a motor and sensory nerve, contributes to the formation of the lumbar plexus. This nerve is known as the subcostal nerve.