Washington County court clerks said Craig Buckner was at the courthouse on Monday for violating a release order.
Buckner thought he would get a "turn yourself in" sentence and decided to bring along his companion parrot.
When Buckner went into court, he told the parrot to wait for him out in a tree in the courtyard of the courthouse. While he was in the courtroom, the judge ordered Buckner to be taken into custody and that is when he became worried about his bird.
Washington County Court Security Deputy, Shoana McKelvey, said he started talking about his parrot as she took him into custody.
Deputy McKelvey decided to go outside and check on the bird. She said when she checked, the bird was in the tree in distress because crows were circling it.
"This was Mr. Buckner's pet. He has had this bird since it has been hatched. I could just tell how concerned he was when he went into custody. This bird was so special to him," said Deputy McKelvey.
Washington County Jail
Deputy McKelvey brought Buckner outside the courthouse and he was able to get the parrot from the tree.
Buckner and the parrot were both brought back inside and after making several calls, they were able to find someone to take the bird while Buckner serves his sentence.
Deputy McKelvey says Buckner did seem relieved that a friend was able to care for his bird while he is in jail.
RELATED: Check out these infamous celeb mugshots:
Best celebrity mugshots
Best celebrity mugshots
In this handout image provided by the Los Angeles County Sheriff's Office, actress Amanda Bynes is seen in a police booking photo April 6, 2012 in West Hollywood, California. Bynes was arrested for driving under the influence of alcohol. (Photo by Los Angeles County Sheriff's Office via Getty Images)
In this handout photo provided by Miami-Dade Police Department, pop star Justin Bieber poses for a booking photo at the Miami-Dade Police Department on January 23, 2014 in Miami, Florida. Justin Bieber was charged with drunken driving, resisting arrest and driving without a valid license after Miami Beach Police found the pop star street racing on Thursday morning. (Photo by Miami-Dade Police Department via Getty Images)
This composite image compares the six booking photos of actress Lindsay Lohan. (Photos by Santa Monica Police Department, Los Angeles County Sheriff's Department via Getty Images)
Matthew McConaughey Mugshot
(Photo via Alamy)
50 Cent (Curtis Jackson) has his mug shot taken while serving time in a New York State Department of Correctional Services shock incarceration program on August 23 1994 in New York NY. (Photo by Michael Ochs Archive/Getty Images)
In this booking photo provided by the City of Atlanta Department of Corrections, actress Reese Witherspoon, real name Laura Jeanne Witherspoon, poses in a booking photo on April 19, 2013 in Atlanta, Georgia. Witherspoon was charged with disorderly conduct after her husband, Jim Toth, was arrested for driving while intoxicated. (Photo by City of Atlanta Department of Corrections via Getty Images)
A mug shot of actor Robert Downey, Jr. is taken on April 24, 2001 in Culver City, CA. The actor was arrested by officers of the Culver City Police Department for being under the influence of a controlled substance. (Photo by Liaison)
In this handout photo provided by the Orleans Parish Sheriff's Office, actor Nicolas Cage is seen in a booking photo April 16, 2011 in New Orleans, Louisiana. Cage was arrested April 16, 2011 and charged with domestic abuse, disturbing the peace and public drunkenness. (Photo by Orleans Parish Sheriff's Office via Getty Images)
In this photo released by the Las Vegas Metropolitan Police Department on August 28, 2010, Paris Hilton is pictured in a police booking photo in Las Vegas, Nevada. According to reports, Hilton and her boyfriend Cy Waits were arrested late Friday night after being stopped on the Las Vegas Strip in a black Cadillac Escalade by a police motorcycle officer who smelled marijuana smoke coming from the vehicle driven by Waits. Hilton was charged with suspicion of felony cocaine possession after police found a small amount of cocaine in her purse. Waits charged with driving under the influence. (Photo by Las Vegas Metropolitan Police Department via Getty Images)
In this handout provided by the Las Vegas Metropolitan Police Department (LVMPD), Peter Hernandez, a Hip-Hop performer whose stage name is 'Bruno Mars' poses for a mug shot photo after he was arrested at the Clark County Detention Center September 19, 2010 in Las Vegas, Nevada. Hernandez was charged with possession of a controlled substance after officers found him with 2.6 grams of cocaine at the Hard Rock, Las Vegas. (Photo by Las Vegas Metropolitan Police Department via Getty Images)
In this handout provided by the Palm Beach County Jail, Rapper Vanilla Ice, also known as Robert Van Winkle poses for his mugshot after being arrested on burglary charges on February 18, 2015 in Lantana, Florida. Police arrested him for taking various items from a residential home in Florida. (Photo by Palm Beach County Sheriff's Office via Getty Images)
In this handout image provided by the Santa Barbara County Sheriff's Office, Singer Michael Jackson is shown in a mug shot after he was booked on multiple counts for allegedly molesting a child November 20, 2003 in Santa Barbara, California. (Photo by Frazer Harrison/Getty Images)
In this handout photo provided by the Glendale City Police Department , actor Kiefer Sutherland poses for his mugshot photo at Glendale City Jail December 5, 2007 in Glendale City, California. Sutherland, 40, reported to the facility to serve a 48-day sentance after pleading guilty to a second drunk driving offense. (Photo by Glendale City Police Department via Getty Images)
Nicole Richie is pictured In this image provided by the Glendale Police Department December 11, 2006 in Glendale, California. Richie was arrested for suspicion of driving under the influence early Monday in Burbank, California after she was allegedly driving the wrong way on the 134 freeway. (Photo by Glendale Police Department via Getty Images)
In this booking photo provided by the San Bernardino County Sheriff's Office, Samantha Ronson poses for a mug shot August 1, 2011 in Barstow, California. Ronson was arrested for DUI after being pulled over for speeding near Baker, California. (Photo by San Bernardino County Sheriff's Office via Getty Images)
Natasha Lyonne appears in a Miami-Dade jail mug shot taken as she is booked August 28, 2001 after she was arrested in the early morning of August 27, 2001 and charged with DUI and leaving the scene of an accident after she crashed her rental car into a road sign in Miami Beach, Florida. Lyonne starred in the recently released film, 'American Pie 2.' (Photo by Getty Images)
In this handout image provided by the Los Angeles County Sheriff's Department, actress Mischa Barton poses for her mug shot December 27, 2007. Barton was arrested driving under the influence overnight. (Photo by Los Angeles County Sheriff's Department via Getty Images)
In this police mug shot from the DeKalb County Sheriff's Office, musician Kid Rock, or Robert J. Ritchie, poses for a mug shot October 21. 2007 in DeKalb County, Georgia. Kid Rock was arrested in the early morning of October 21 after a fight at a Waffle House restaurant in DeKalb County. (Photo by DeKalb County Sheriff's Office via Getty Images)
In this Los Angeles County Sheriff's Department booking photo, actor Mel Gibson has his police mug shot taken July 28, 2006 in Los Angeles, California. Gibson was arrested July 28, 2006 for drunk driving after he was caught speeding and had a blood alcohol reading of 0.12 percent according to authorities. (Photo by Los Angeles County Sheriff's Department via Getty Images)
In this handout photo provided by the Wood County Sheriff's Department, actress Daryl Hannah is seen in a police booking photo October 4, 2012 in Quitman, Texas. Hannah was arrested while protesting the Keystone XL oil pipeline October 4, 2012 in Winnsboro, Texas. She was reportedly charged with criminal trespassing and resisting arrest. Hannah was released on bond. (Photo by Wood County Sheriff's Department via Getty Images)
In this handout photo provided by the Las Vegas Police Department, former football player O.J. Simpson poses for a mugshot photo September 16, 2007 in Las Vegas, Nevada. Simpson was arrested at the Palms hotel in connection with an alleged armed robbery in a hotel room at the Palace Hotel. He is accused of being part of a raid on sport memorabilia belonging to a dealer. (Photo by Las Vegas Police Department via Getty Images)
In this handout image provided by the Los Angeles County Sheriff's Department, actress Michelle Rodriguez poses for her mug shot photo after she checked into the Los Angeles Century Regional Detention Facility December 23, 2007 in Los Angeles, California. Rodriguez is sentanced for a 180 days prison term for a probation violation in a hit-and-run case. (Photo by Los Angeles County Sheriff's Department via Getty Images)
In this mugshot picture released by the Miami Beach Police Dept., Actor Jeffrey Donovan is seen. Donovan, an actor onthe television show 'Burn Notice' was arrested on the suspicion of drunken driving after being pulled over July 12, 2009 and failing a field sobriety test. (Photo by Miami Beach Police Dept. via Getty Images)
In this handout photo provided by the Broward County Sheriff's Office, Chad Johnson is seen in a police booking photo at Broward County Sheriff's Office on August 11, 2012 in Fort Lauderdale, Florida. Johnson was arrested on a domestic violence charge following accusations that he had head-butted his wife. (Photo by Broward County Sheriff's Office via Getty Images)
In this photo made available by the Los Angeles Sheriff's Department June 4, 2007, Paris Hilton is seen in her booking photo. (Photo by Los Angeles Sheriff's Department via Getty Images)