Glastonbury Festival guru Michael Eavis has officially opened Midsomer Norton Primary School's new £2.3 million development.
Pupils welcomed Mr Eavis with a celebration of music with performances from the drumming group and choir in the new school hall.
The children took part in a flag parade before Mr Eavis cut the ribbon on the new development.
Funded by Bath and North East Council the improvements carried out at the school over the last year replaced several temporary buildings and have provided a new entrance to the school, new hall, servery, reception classrooms and nursery, and administrative suite.
Head teacher Damian Knollys said: "All the pupils and teachers are really pleased with the new classrooms and hall. These improvements are supporting our teaching staff to continue to provide high standards of education."
Mr Knollys said it had been exciting to see the new buildings officially opened although they had been in use since the beginning of the year.
He added: "Having an opening celebration is important to mark the journey we have been on as a school. It marks the achievement of everyone involved from the local authority, the contractors and the governors who have insisted on improved facilities and lead the project from the start."
Mr Knollys said the school was looking to the future with the chance to provide a richer education for children and opportunities for community involvement.
He said: "I can only thank our neighbours, the Methodist Church, for allowing us to use their buildings while the hall was out of use."
Governors of Midsomer Norton Primary, who assisted in the scheme development, are delighted with the new accommodation and its benefits to pupils, staff and the community.
Chairman of Governors David Evans said he was pleased to see the light at the end of the tunnel after more than three years of bringing the project to fruition.
Mr Evans said: "The concept was started ten years ago by a group of governors including the Rev David Watson and Matt Garner.
"The object was an even better school for our children and future children and that will be realised with the next intake in September."
He said he could only thank, children, staff and parents for their patience and understanding and his fellow governors for their immense effort and time spent on the project.
The scheme was part of Bath and North East Somerset Council's primary capital programme which prioritised investment totalling £8.8 million to replace poor condition buildings at Batheaston Primary, Bathford Primary, Midsomer Norton Primary, and Weston All Saints Primary.
Councillor Paul Crossley (Lib Dem, Southdown), leader of B&NES, said: "The council is committed to improving the quality of school buildings and helping schools to develop and extend their role in the community, so that all of our pupils enjoy their childhood and are fully prepared for adult life.
"We are delighted that the children and staff of Midsomer Norton Primary School are getting so much out of their new classrooms and school hall."