(CNN) -- A New Jersey man whose efforts to gain custody of his son in Brazil attracted international attention may have finally gotten his wish.



David Goldman has been fighting for custody of his son, Sean, since his mother took him to Brazil in 2004.



David Goldman's lawyer, Patricia Apy, said Monday night that a Brazilian federal court has ruled that Goldman's son should be returned to the United States.



Apy said she found out Monday afternoon about the court's decision, which calls for 8-year-old Sean Goldman to be turned over to the U.S. Consulate in Rio de Janeiro on Wednesday. Apy said David Goldman was traveling to Brazil and was expected to arrive in Rio de Janeiro early Tuesday morning.



Sean's mother, who was Brazilian, divorced Goldman, and in 2004 returned to Brazil with Sean. She died in 2008 while giving birth to another child. Sean was was being raised in Brazil by his stepfather.



Apy said that Goldman was "very happy" at the news, and that it had been "a long five years."



Secretary of State Hillary Clinton referred to the case Monday, telling reporters, "I also wanted just to take this opportunity to recognize the decision by the Brazilian federal court today ordering a young American boy, Sean Goldman, to be reunited with his father, David. It's taken a long time for this day to come, but we will work with the Goldman family and the Brazilian government, with the goal of ensuring this young boy's return."



Apy said she had not received a copy of the Brazilian court decision but expected to get one on Tuesday.



CNN's Elise Labott contributed to this report.
With whom was Sean left? When did Sean move to Brazil? When did he move to Brazil? What is Sean Goldman's age? Who will be turned over the the US Consulate? Who  divorced and mom moved him to Brazil in 2004 ? Who is  to be turned over to U.S. Consulate on Wednesday ? What is the reason  Sean is turned over to the U.S. Consulate?
stepfather. in 2004. 2004. 8-year-old 8-year-old Sean Goldman David Goldman Sean Goldman Brazilian federal court has ruled that Goldman's son should be returned
question: With whom was Sean left?, answer: stepfather. | question: When did Sean move to Brazil?, answer: in 2004. | question: When did he move to Brazil?, answer: 2004. | question: What is Sean Goldman's age?, answer: 8-year-old | question: Who will be turned over the the US Consulate?, answer: 8-year-old Sean Goldman | question: Who  divorced and mom moved him to Brazil in 2004 ?, answer: David Goldman | question: Who is  to be turned over to U.S. Consulate on Wednesday ?, answer: Sean Goldman | question: What is the reason  Sean is turned over to the U.S. Consulate?, answer: Brazilian federal court has ruled that Goldman's son should be returned