Justin Bieber has thanked his dad on Twitter.

The 'Boyfriend' singer praised his father Jeremy for his support and described him as the ''greatest dad in the world'', after his arrest for driving under the influence (DUI), resisting arrest and driving without a license after an alleged drag race in Miami last week.

The 19-year-old-star - who is spending time with family in his native of Canada - posted a black and white photograph of his father along with the caption: ''I have the greatest Dad in the world, He's taught me how to love, learn, and stay true to myself. I will forever be grateful because he was my superhero #batman (sic)''.

Justin's father was believed to be with him at the time of his arrest but insists he is helping his son.

The singer also took the time to thank Dan Mathieson, the Mayor of his local town Stratford, whose kind words featured in Beacon Herald newspaper had resonated with the pop star.

He added: ''Never forget where you came from or those who supported you before anyone else. Still the small town kid. Thanks.''

Justin shared a link to the article, in which the mayor had said: ''As far as I'm concerned, he is a 19-year-old person who has made some errors, I hope for his sake that he can get a reset, and get back to music and doing what he loves.''