Vanessa Hudgens has paid the price for her illegal romantic gesture.
The 27-year-old Grease: Live! actress compensated $1,000 for defacing a red rock wall in Sedona, Arizona, according to the Associated Press.
WATCH: Vanessa Hudgens Under Investigation for Allegedly Defacing Sedona Red Rock
The money was reportedly used to repair the rock wall by a volunteer group called Friends of the Forest. The agreement was approved on April 19 by a federal magistrate in Flagstaff.
The investigation began back in February after Hudgens and her boyfriend, Austin Butler, carved a heart with their names in it into Bell Rock during a Valentine's Day getaway at the popular tourist spot. Hudgens shared a photo of the carving on Instagram but has since deleted the post.
Hudgens received a citation for a misdemeanor count of damaging a natural feature on U.S. Forest Service land. At the time, a public affairs officer for Coconino National Forest told ET that officials became aware of the incident "when the media alerted them of the situation."
PHOTOS: Vanessa Hudgens and Austin Butler Are So Happy Together at Disneyland
"There is no deadline for this investigation -- it takes as long as it takes," the officer added. "The maximum punishment for this is $5k and/or 6 months behind bars."
ET has reached out to Hudgens' reps for comment.