When a battery is committed against the person of an elder or a dependent adult as defined in Section 368, with knowledge that he or she is an elder or a dependent adult, the offense shall be punishable by a fine not to exceed two thousand dollars ($2,000), or by imprisonment in a county jail not to exceed one year, or by both that fine and imprisonment.